Skip to content

Commit

Permalink
fix #235
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilvoctu committed Mar 5, 2024
1 parent 1b17f17 commit 5320244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5320244

Please sign in to comment.