Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip waiting for email verification to log the user in #1771

Merged
merged 8 commits into from
Feb 15, 2024
Merged

Conversation

siddhantk232
Copy link
Contributor

Users are immediately logged in on create-account. This removes the need of -- auth.email-confirmation-request-sent-page: in some way. A field in uset-details (verified-email) is introduced so frontend can, for example, use it to show a message that reminds the user to "verify their email" if they are unverified. This field also exists on req.ud().

  • add an email and verified_email field to fastn_user to avoid sql queries with joins.
  • use BIGSERIAL for IDs
  • rename fastn_session to fastn_auth_session to avoid confusion. A generalized session store will replace this in future.

@amitu amitu merged commit fb88671 into main Feb 15, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants