mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 04:50:52 +08:00
feat(gemini-web): Implement proactive PSIDTS cookie rotation
This commit is contained in:
@@ -861,7 +861,11 @@ func (m *Manager) refreshAuth(ctx context.Context, id string) {
|
||||
if updated == nil {
|
||||
updated = cloned
|
||||
}
|
||||
updated.Runtime = auth.Runtime
|
||||
// Preserve runtime created by the executor during Refresh.
|
||||
// If executor didn't set one, fall back to the previous runtime.
|
||||
if updated.Runtime == nil {
|
||||
updated.Runtime = auth.Runtime
|
||||
}
|
||||
updated.LastRefreshedAt = now
|
||||
updated.NextRefreshAfter = time.Time{}
|
||||
updated.LastError = nil
|
||||
|
||||
Reference in New Issue
Block a user