mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 07:36:24 +00:00
Monotone-Parent: 7d21a2ed5fce59a41f611d8f49d9760d36dac3f5
Monotone-Revision: 994b69bf5b441d8ad6fa804a31ee33b25a0ec13e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-08T16:00:36 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -28,7 +28,7 @@ function onLoginClick(event) {
|
||||
&& !userName.endsWith(loginSuffix))
|
||||
userName += loginSuffix;
|
||||
var url = $("connectForm").getAttribute("action");
|
||||
var parameters = ("userName=" + encodeURI(userName) + "&password=" + encodeURI(password));
|
||||
var parameters = ("userName=" + encodeURIComponent(userName) + "&password=" + encodeURIComponent(password));
|
||||
document.cookie = "";
|
||||
triggerAjaxRequest(url, onLoginCallback, null, parameters,
|
||||
{ "Content-type": "application/x-www-form-urlencoded",
|
||||
|
||||
Reference in New Issue
Block a user