(fix) proxy ui - without sso

This commit is contained in:
ishaan-jaff 2024-02-02 10:40:37 -08:00
parent 01a69ea5a8
commit b138caf948

View file

@ -3121,7 +3121,7 @@ async def login(request: Request):
username = str(form.get("username"))
password = str(form.get("password"))
ui_username = os.getenv("UI_USERNAME", "admin")
ui_password = os.getenv("UI_PASSWORD", "")
ui_password = os.getenv("UI_PASSWORD", None)
if ui_password is None:
ui_password = str(master_key) if master_key is not None else None