Skip to content

fix: send email verification after committing user to DB#186

Open
AJ-Collins wants to merge 1 commit intokaw393939:mainfrom
AJ-Collins:fix/email-verification-link
Open

fix: send email verification after committing user to DB#186
AJ-Collins wants to merge 1 commit intokaw393939:mainfrom
AJ-Collins:fix/email-verification-link

Conversation

@AJ-Collins
Copy link

Changes

  • Moved email sending to after session.commit() and session.refresh(new_user)
  • Ensures user.id is available before building verification URL

Why

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.

1 participant