mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-07 03:19:44 +00:00
Monotone-Parent: ebbadbdb3549dd7264241be0a6c21ab9a481341f
Monotone-Revision: 1fb8a3cbc4132cfe8736e6233d540222301c0485 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-10T21:57:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2010-06-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Common/UIxPageFrame.m (-logoffPath): reverted previous change
|
||||
as we now make use of the logoffAction to redirect to the CAS
|
||||
logout url.
|
||||
|
||||
* SoObjects/SOGo/SOGoSystemDefaults.m (-davAuthenticationType):
|
||||
new method similar to -authenticationType. Currently used for CAS
|
||||
or non-CAS authentication.
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#import <NGObjWeb/WOResourceManager.h>
|
||||
|
||||
#import <SOGo/NSDictionary+Utilities.h>
|
||||
#import <SOGo/NSString+Utilities.h>
|
||||
#import <SOGo/SOGoUser.h>
|
||||
#import <SOGo/SOGoUserDefaults.h>
|
||||
#import <SOGo/SOGoUserProfile.h>
|
||||
@@ -156,18 +155,7 @@
|
||||
|
||||
- (NSString *) logoffPath
|
||||
{
|
||||
NSString *logoffPath;
|
||||
SOGoSystemDefaults *sd;
|
||||
|
||||
sd = [SOGoSystemDefaults sharedSystemDefaults];
|
||||
if ([[sd authenticationType] isEqualToString: @"cas"])
|
||||
logoffPath = [[sd CASServiceURL] composeURLWithAction: @"logout"
|
||||
parameters: nil
|
||||
andHash: NO];
|
||||
else
|
||||
logoffPath = [self relativePathToUserFolderSubPath: @"logoff"];
|
||||
|
||||
return logoffPath;
|
||||
return [self relativePathToUserFolderSubPath: @"logoff"];
|
||||
}
|
||||
|
||||
/* popup handling */
|
||||
|
||||
Reference in New Issue
Block a user