Skip to content

fix: trim/lowercase email on email change#2886

Merged
atmoio merged 1 commit intomainfrom
trim-email-on-change
Sep 20, 2024
Merged

fix: trim/lowercase email on email change#2886
atmoio merged 1 commit intomainfrom
trim-email-on-change

Conversation

@atmoio
Copy link
Copy Markdown
Member

@atmoio atmoio commented Sep 20, 2024

Prior to this fix, server would lowercase email on change automatically. However the client would generate the root key based on the raw user input. This means that changing email to "Foo@Bar.Com" would change your email to "foo@bar.com", but your password would only be correct on sign in if you entered "Foo@Bar.Com".

@atmoio atmoio requested a review from amanharwara September 20, 2024 14:24
@atmoio atmoio merged commit 98304cc into main Sep 20, 2024
@atmoio atmoio deleted the trim-email-on-change branch September 20, 2024 14:53
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