mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-16 23:54:18 +00:00
Revert cleanup of usesCASAuthentication on c3234882eb - useful for CAS-specific frontend recovery logic
This commit is contained in:
@@ -488,6 +488,14 @@
|
||||
&& [user isSuperUser]);
|
||||
}
|
||||
|
||||
- (BOOL) usesCASAuthentication
|
||||
{
|
||||
SOGoSystemDefaults *sd;
|
||||
|
||||
sd = [SOGoSystemDefaults sharedSystemDefaults];
|
||||
|
||||
return [[sd authenticationType] isEqualToString: @"cas"];
|
||||
}
|
||||
|
||||
- (BOOL) usesOpenIdAuthentication
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user