Closed sebaxakerhtc closed 7 months ago
I don't know when it was changed, but /sdapi/v1/cmd-flags
can be accessed without authentication or something (it returns status code 200
), which is how I did my gradio-auth check. As a result global_var.gradio_auth
was never set to True
.
I just changed it to verify with /config
instead, which works for now.
Describe the bug
When using
--gradio-auth
we get message "Trouble accessing Web UI config! I can't pull the LoRAs or High-res upscaler lists!" The problem is insidesettings.py
For solving this problem I added a part from begining:
This solve the problem, but I think it should use the same code from begining of file. I tried call the function
authenticate_user()
, but with no luck. For now this code works:Environment
Console logs