Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix(studio): don't double-quote the reset-password hint for spaced paths (#5975)

Daniel Hanaa0db1ff5b21
diff --git a/studio/backend/routes/auth.py b/studio/backend/routes/auth.py
index ef01bcc9a98..23112ca2f8e 100644
--- a/studio/backend/routes/auth.py
+++ b/studio/backend/routes/auth.py
@@ -260,7 +260,7 @@ async def login(payload: AuthLoginRequest, request: Request) -> Token:
_record_login_failure(unknown_key)
raise HTTPException(
status_code = status.HTTP_401_UNAUTHORIZED,
- detail = f"Incorrect password. Run '{_reset_password_command()}' in your terminal to reset it.",
+ detail = f"Incorrect password. To reset it, run this in your terminal: {_reset_password_command()}",
)
salt, pwd_hash, _jwt_secret, must_change_password = record
@@ -268,7 +268,7 @@ async def login(payload: AuthLoginRequest, request: Request) -> Token:
_record_login_failure(key)
raise HTTPException(
status_code = status.HTTP_401_UNAUTHORIZED,
- detail = f"Incorrect password. Run '{_reset_password_command()}' in your terminal to reset it.",
+ detail = f"Incorrect password. To reset it, run this in your terminal: {_reset_password_command()}",
)
_clear_login_bucket(key)