Skip to content

Allow password sign-in while email verification is pending - #94

Merged
Eoic merged 1 commit into
developmentfrom
fix/93-unverified-password-sign-in
Dec 1, 2026
Merged

Eoic merged 1 commit into
developmentfrom
fix/93-unverified-password-sign-in

Conversation

@Eoic

@Eoic Eoic commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Closes #93. Implements the password sign-in behavior in FR-1_2 and the post-reset journey in FR-1_5.

An active account with the correct password can open its library even when its primary email is unverified. This also applies immediately after a password reset. Sessions rotate normally and the API returns the current verification status. The reset itself does not mark the address verified.

Google identity linking, administrator access, and cancellation of account deletion still require a verified address. Existing disabled-account, session revocation, and owner checks remain in place. No schema migration or backfill is required.

Validation

  • 124 local PostgreSQL route and service tests passed, including post-reset login, PowerSync credential issuance, OAuth, session revocation, and recovery.
  • Ruff, formatting and strict Mypy passed. The generated OpenAPI snapshot matches this commit.
  • The standalone development sandboxes use the registration message from the API. Their local TypeScript check and Vite build are blocked by shared imports, including src/lib/api, already missing from the base branch.

Ship PapyrusReader/client#187 before or alongside the server. PapyrusReader/docs#101 contains the matching requirements and API snapshot. Older clients reject an otherwise valid unverified session.

Copilot AI balanced review requested due to automatic review settings December 1, 2026 21:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T21:14:45.351541Z 1db3206 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Eoic
Eoic enabled auto-merge December 1, 2026 21:18
@Eoic
Eoic merged commit 4e4e044 into development Dec 1, 2026
1 check passed
@Eoic
Eoic deleted the fix/93-unverified-password-sign-in branch December 1, 2026 21:46
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.

Allow password sign-in before email verification

2 participants