mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 20:37:14 +00:00
Monotone-Parent: 9ce00a7f3dabe1a68fa6eb5c0dc5e85403287b76
Monotone-Revision: e3cff884472b4a92410e32c3f8083123af17c801 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-09-13T15:17:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
4b54234375
commit
11f9a77317
5 files changed
+27
-5
No files matched your search
@@ -3,8 +3,9 @@
|
||||
function initLogin() {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() - 86400000);
|
||||
document.cookie = ("0xHIGHFLYxSOGo=discard; path=/"
|
||||
+ "; expires=" + date.toGMTString());
|
||||
document.cookie = ("0xHIGHFLYxSOGo=discarded"
|
||||
+ "; expires=" + date.toGMTString()
|
||||
+ "; path=/");
|
||||
|
||||
var about = $("about");
|
||||
if (about) {
|
||||
@@ -48,7 +49,9 @@ function onLoginClick(event) {
|
||||
"&password=" + encodeURIComponent(password);
|
||||
if (language)
|
||||
parameters += (language.value == "WONoSelectionString")?"":("&language=" + language.value);
|
||||
document.cookie = "";
|
||||
/// Discarded as it seems to create a cookie for nothing. To discard
|
||||
// a cookie in JS, have a look here: http://www.quirksmode.org/js/cookies.html
|
||||
// document.cookie = "";
|
||||
triggerAjaxRequest(url, onLoginCallback, null, (parameters),
|
||||
{ "Content-type": "application/x-www-form-urlencoded",
|
||||
"Content-length": parameters.length,
|
||||
|
||||
Reference in new issue
Block a user