From 0510424e1c87b4a79479e8afc53d29e8885d2158 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 18 Dec 2018 16:51:57 -0800 Subject: [PATCH] auth: Remove some now-unused auth_backend_enabled helpers. These were causing coverage errors, and in any case are now useless. --- zproject/backends.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/zproject/backends.py b/zproject/backends.py index 55a727475b..91f4c7ab48 100644 --- a/zproject/backends.py +++ b/zproject/backends.py @@ -67,12 +67,6 @@ def google_auth_enabled(realm: Optional[Realm]=None) -> bool: def github_auth_enabled(realm: Optional[Realm]=None) -> bool: return auth_enabled_helper(['GitHub'], realm) -def azuread_auth_enabled(realm: Optional[Realm]=None) -> bool: - return auth_enabled_helper(['AzureAD'], realm) - -def remote_auth_enabled(realm: Optional[Realm]=None) -> bool: - return auth_enabled_helper(['RemoteUser'], realm) - def any_oauth_backend_enabled(realm: Optional[Realm]=None) -> bool: """Used by the login page process to determine whether to show the 'OR' for login with Google"""