Files
cc-switch/tests/hooks
SaladDay 92d5291685 fix(codex): reject duplicate managed accounts (#7061)
Reject an ordinary Codex managed-account login when both the ChatGPT workspace and the stable user identity (id_token sub) already match an existing account. The check runs under the storage lock so concurrent login completions cannot create duplicate records, and the refresh lock is now taken only for targeted re-auth so a rejected add leaves no lock entry behind. Distinct users in the same workspace remain supported. The duplicate-account error code is mapped to a localized message in the managed-auth UI.
2026-09-03 21:13:18 +08:00
..
2025-11-22 19:18:35 +08:00
2025-11-22 19:18:35 +08:00