diff --git a/server/src/uds/REST/methods/actor_v3.py b/server/src/uds/REST/methods/actor_v3.py index 02e62097..ab54bb79 100644 --- a/server/src/uds/REST/methods/actor_v3.py +++ b/server/src/uds/REST/methods/actor_v3.py @@ -318,11 +318,11 @@ class BaseReadyChange(ActorV3Action): return ActorV3Action.actorResult({'private_key': privateKey, 'server_certificate': cert, 'password': password}) -class ChangeIp(BaseReadyChange): +class IpChange(BaseReadyChange): """ Processses IP Change. """ - name = 'changeip' + name = 'ipchange' class Ready(BaseReadyChange): """ diff --git a/server/src/uds/web/util/configjs.py b/server/src/uds/web/util/configjs.py index 7f1659e2..23ccc032 100644 --- a/server/src/uds/web/util/configjs.py +++ b/server/src/uds/web/util/configjs.py @@ -81,10 +81,10 @@ def udsJs(request: 'HttpRequest') -> str: tag = request.session.get('tag', None) - if GlobalConfig.DISALLOW_GLOBAL_LOGIN.getBool(False) is True: + if GlobalConfig.DISALLOW_GLOBAL_LOGIN.getBool() is True: try: - authenticators = [Authenticator.objects.get(small_name=auth_host)] - except Exception: + authenticators = Authenticator.objects.filter(small_name=auth_host)[:] + except Exception as e: try: authenticators = [Authenticator.objects.order_by('priority')[0]] except Exception: # There is no authenticators yet...