Skip to content

fix: User non-active status handling.#38

Merged
alisafarli06 merged 5 commits into
mainfrom
fix/auth/status-validation
Jul 13, 2026
Merged

fix: User non-active status handling.#38
alisafarli06 merged 5 commits into
mainfrom
fix/auth/status-validation

Conversation

@alisafarli06

Copy link
Copy Markdown
Collaborator

No description provided.

alisafarli06 and others added 5 commits July 13, 2026 19:14
Detect suspended or inactive account responses by status and error code.

Co-authored-by: Cursor <cursoragent@cursor.com>
Expose isAccountInactiveError through the shared API barrel.

Co-authored-by: Cursor <cursoragent@cursor.com>
Terminate the client session when protected API requests return ACCOUNT_INACTIVE.

Co-authored-by: Cursor <cursoragent@cursor.com>
Surface ACCOUNT_INACTIVE errors to users while keeping silent auth flows inline.

Co-authored-by: Cursor <cursoragent@cursor.com>
Treat ACCOUNT_INACTIVE like session expiry when loading the current user.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AnonimProgrammer AnonimProgrammer changed the title Fix/auth/status validation fix: User non-active status handling. Jul 13, 2026
@alisafarli06
alisafarli06 merged commit f49499e into main Jul 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants