From de40c72d9e6f0dd1723d1fee90b729f489edd28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 24 Aug 2021 17:02:36 +0200 Subject: [PATCH] Fixed "disabled" tag to allow login with only federated auths --- server/src/uds/web/util/configjs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/uds/web/util/configjs.py b/server/src/uds/web/util/configjs.py index 5a51f62c..6c56f498 100644 --- a/server/src/uds/web/util/configjs.py +++ b/server/src/uds/web/util/configjs.py @@ -115,7 +115,7 @@ def udsJs(request: 'ExtendedHttpRequest') -> str: or (tag == 'disabled' and x.getType().isCustom() is False) ] - if not authenticators: + if not authenticators and tag != 'disabled': try: authenticators = [Authenticator.objects.order_by('priority')[0]] except Exception: # There is no authenticators yet...