From 532024436d96881713b24374916f541fe53d46bd Mon Sep 17 00:00:00 2001 From: Kilvoctu Date: Tue, 5 Mar 2024 10:31:37 -0600 Subject: [PATCH] fix #235 --- core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/settings.py b/core/settings.py index e3f590d..5291ea6 100644 --- a/core/settings.py +++ b/core/settings.py @@ -337,7 +337,7 @@ def authenticate_user(): # do a check to see if --gradio-auth is set if global_var.gradio_auth is None: - r = s.get(global_var.url + '/sdapi/v1/cmd-flags') + r = s.get(global_var.url + '/config') if r.status_code == 401: global_var.gradio_auth = True else: