From 981e0b207779673ff9281a34916d5d90354dceb1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 4 Sep 2007 22:04:07 +0000 Subject: [PATCH] Monotone-Parent: 9c07f354f964b61c31ef1e65537005f323405e8b Monotone-Revision: 1817cf065d663afc3b444da020adc9c76385c97c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-09-04T22:04:07 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ UI/MainUI/SOGoUserHomePage.m | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 012f73bf1..d542f488f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-09-04 Wolfgang Sourdeau + * UI/MainUI/SOGoUserHomePage.m ([SOGoUserHomePage -logoffAction]): + set the cookie path to "/". + * Main/SOGo.m ([SOGo -authenticatorInContext:_ctx]): choose the authenticator based on the request handler key. "dav" returns the SOGoDAVAuthenticator, anything else returns the Web authenticator. diff --git a/UI/MainUI/SOGoUserHomePage.m b/UI/MainUI/SOGoUserHomePage.m index 572ee1aa8..6f211ce67 100644 --- a/UI/MainUI/SOGoUserHomePage.m +++ b/UI/MainUI/SOGoUserHomePage.m @@ -218,6 +218,7 @@ static NSString *defaultModule = nil; auth = [[self clientObject] authenticatorInContext: context]; cookie = [WOCookie cookieWithName: [auth cookieNameInContext: context] value: @"logoff"]; + [cookie setPath: @"/"]; [response addCookie: cookie]; return response;