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

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