diff --git a/ChangeLog b/ChangeLog index dbec6e291..fb292169d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-02-10 Wolfgang Sourdeau + * UI/WebServerResources/SOGoRootPage.js (initLogin): discard the + login cookie with the appName set as cookie path. + * UI/WebServerResources/SchedulerUI.js (newEvent): removed the useless "sender" parameter and added "day", "hour" and "duration" parameters to obtain a more generic method. diff --git a/UI/WebServerResources/SOGoRootPage.js b/UI/WebServerResources/SOGoRootPage.js index c5f759bf6..501562f4e 100644 --- a/UI/WebServerResources/SOGoRootPage.js +++ b/UI/WebServerResources/SOGoRootPage.js @@ -3,9 +3,13 @@ function initLogin() { var date = new Date(); date.setTime(date.getTime() - 86400000); + + var href = $("connectForm").action.split("/"); + var appName = href[href.length-2]; + document.cookie = ("0xHIGHFLYxSOGo=discarded" + "; expires=" + date.toGMTString() - + "; path=/"); + + "; path=/" + appName + "/"); var about = $("about"); if (about) {