From a99a848064f228d8e5ceb918c997af5ee5f35cb0 Mon Sep 17 00:00:00 2001 From: Vincent Bonamy Date: Fri, 12 Jun 2026 15:35:43 +0200 Subject: [PATCH] Revert cleanup of usesCASAuthentication on c3234882eb0dc - useful for CAS-specific frontend recovery logic --- UI/Common/UIxPageFrame.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/UI/Common/UIxPageFrame.m b/UI/Common/UIxPageFrame.m index b938254d1..a5d4a8386 100644 --- a/UI/Common/UIxPageFrame.m +++ b/UI/Common/UIxPageFrame.m @@ -488,6 +488,14 @@ && [user isSuperUser]); } +- (BOOL) usesCASAuthentication +{ + SOGoSystemDefaults *sd; + + sd = [SOGoSystemDefaults sharedSystemDefaults]; + + return [[sd authenticationType] isEqualToString: @"cas"]; +} - (BOOL) usesOpenIdAuthentication {