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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user