From a3ced4af3028e6173705da6b7124c16ad0158a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Tue, 9 Feb 2021 13:42:57 +0100 Subject: [PATCH] fixed get tag from auth name --- server/src/uds/web/util/configjs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/uds/web/util/configjs.py b/server/src/uds/web/util/configjs.py index 0ca9fe900..b10498634 100644 --- a/server/src/uds/web/util/configjs.py +++ b/server/src/uds/web/util/configjs.py @@ -102,6 +102,9 @@ def udsJs(request: 'HttpRequest') -> str: except Exception: # There is no authenticators yet... authenticators = [] + if not tag and authenticators: + tag = authenticators[0].small_name + # logger.debug('Authenticators: %s', authenticators) # the auths for client