Revert cleanup of usesCASAuthentication on c3234882eb - useful for CAS-specific frontend recovery logic

This commit is contained in:
Vincent Bonamy authored and QHivert committed 2026-06-15 08:56:23 +02:00
1 parent 3a78a3bbb4
commit a99a848064
1 file changed
+8
+8
View File
@@ -488,6 +488,14 @@
&& [user isSuperUser]);
}
- (BOOL) usesCASAuthentication
{
SOGoSystemDefaults *sd;
sd = [SOGoSystemDefaults sharedSystemDefaults];
return [[sd authenticationType] isEqualToString: @"cas"];
}
- (BOOL) usesOpenIdAuthentication
{