fix(auth): remove username from password verification payload and fix proxy refresh handler

- Remove redundant username field from password verification payload in CodexAPIAuth
- Update proxy refresh button to use arrow function for proper event handling
- Simplify authentication flow by eliminating unnecessary email parameter in password verification request
This commit is contained in:
2026-02-03 07:32:52 +08:00
parent 87b9b72a0e
commit 0813737f1b
2 changed files with 1 additions and 2 deletions

View File

@@ -492,7 +492,6 @@ func (c *CodexAPIAuth) ObtainAuthorizationCode() (string, error) {
verifyHeaders["OpenAI-Sentinel-Token"] = c.getSentinelHeader("password_verify")
passwordPayload := map[string]string{
"username": c.email,
"password": c.password,
}