From ec95f979301ed24076c17c31b00ae103fb2c7df3 Mon Sep 17 00:00:00 2001 From: Krishna Agarwal <159047652+krishnaa05@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:58:17 -0600 Subject: [PATCH] Update auth.py --- fence/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fence/auth.py b/fence/auth.py index 3861951f8..43c3b8bb1 100644 --- a/fence/auth.py +++ b/fence/auth.py @@ -119,6 +119,7 @@ def set_flask_session_values(user): return else: if not config["ALLOW_NEW_USER_ON_LOGIN"]: + logger.debug(f"ALLOW_NEW_USER_ON_LOGIN is set to {ALLOW_NEW_USER_ON_LOGIN}") # do not create new active users automatically raise Unauthorized("New user is not yet authorized/activated in the system")