mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user