Monotone-Parent: dfb14f2703df6b34884a9fb24c8a1e3346359c45

Monotone-Revision: a7f4ebc5a4a1d9fe0406a1c608757fb14147fa5d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-03-18T22:13:04
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-03-18 22:13:04 +00:00
parent bcff48ba8c
commit 4c832536e9
8 changed files with 41 additions and 40 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
function initLogin() {
var date = new Date();
date.setTime(date.getTime() - 86400000);
document.cookie = ("0xHIGHFLYxSOGo-0.9=discard; path=/"
document.cookie = ("0xHIGHFLYxSOGo=discard; path=/"
+ "; expires=" + date.toGMTString());
var submit = $("submit");
submit.observe("click", onLoginClick);
@@ -56,7 +56,7 @@ function onLoginCallback(http) {
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf("0xHIGHFLYxSOGo-0.9=") == 0) {
if (c.indexOf("0xHIGHFLYxSOGo=") == 0) {
cookieExists = 1;
break;
}