diff --git a/auth.py b/auth.py index e59abed..41fdbad 100644 --- a/auth.py +++ b/auth.py @@ -272,11 +272,7 @@ def check_user_machine_and_register(nas_type, user, user_interface, nas_id, user if user_interface: if user_interface["user_pk"] != user["pk"]: - return ( - False, - "Mac address registered on another user account", - "", - ) + return (False, "Mac address registered on another user account") elif not user_interface["active"]: return (False, "Interface/Machine disabled")