See ChangeLog

Monotone-Parent: ada8e59dc2acdffd7634acc70f3387a0f8e4e671
Monotone-Revision: d61deeadebd9f79f9603928dca395cad83167394

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-12-09T19:15:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2010-12-09 19:15:02 +00:00
parent 4cdb010230
commit 5477457271
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -2,6 +2,7 @@
* SoObject/SOGo/SQLSource.m - added SHA password
hash support for SQL authentication sources.
* Added patch from bug #1048
2010-12-08 Francis Lachapelle <flachapelle@inverse.ca>
+4 -3
View File
@@ -458,9 +458,10 @@
if ([auth respondsToSelector: @selector (cookieNameInContext:)])
{
sd = [SOGoSystemDefaults sharedSystemDefaults];
canLogoff = (([[sd authenticationType] isEqualToString: @"cas"]
&& [sd CASLogoutEnabled])
|| [[auth cookieNameInContext: context] length] > 0);
if ([[sd authenticationType] isEqualToString: @"cas"])
canLogoff = [sd CASLogoutEnabled];
else
canLogoff = [[auth cookieNameInContext: context] length] > 0;
}
else
canLogoff = NO;