Monotone-Parent: 9c07f354f964b61c31ef1e65537005f323405e8b

Monotone-Revision: 1817cf065d663afc3b444da020adc9c76385c97c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-04T22:04:07
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-09-04 22:04:07 +00:00
parent c3b6c0d9e2
commit 981e0b2077
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2007-09-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.

View File

@ -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;