fix(auth): stop pre-filling login username on new devices

Remove username_hint from hub auth status API and disable autocomplete on hub and instance login forms.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-17 19:21:46 +08:00
parent b6acbf4b2c
commit be7f5d5072
6 changed files with 15 additions and 17 deletions
-1
View File
@@ -613,7 +613,6 @@ def api_auth_status(request: Request):
return {
"required": required,
"logged_in": logged_in,
"username_hint": expected_username() if required else None,
}