-
Notifications
You must be signed in to change notification settings - Fork 57
Rework how email verification works #3784
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f84ccda
Fix the service worker not loading in dev mode
sandhose 5d69b34
frontend: simplify email list
sandhose 8db3642
Add more stories for the account index page
sandhose ee33e9c
Remove the primary email address concept
sandhose 75526ff
storage: new email authentication codes
sandhose 1f83b39
Remove the dedicated page to add an email address
sandhose 0513f19
Rip out the email verification codes
sandhose 5f5fc44
Job to send the new email authentication codes
sandhose 23b019c
GraphQL API to use the new email authentication codes
sandhose e0f4882
Use the new GraphQL APIs in the frontend to add emails
sandhose dbb5316
Data model and storage layer for storing user registrations
sandhose 3da27af
Move the registration-related views into a sub-module
sandhose a294b37
Fix the post auth action being lost during the registration flow
sandhose 0bedaf3
Make the password registration create a user_registration
sandhose f8517a5
Implement email verification in the registration flow
sandhose 621b648
Check that the email isn't used during the registration process
sandhose 36aa1a0
Move the finishing of registration to a dedicated view
sandhose f50a386
Registration step to set a display name
sandhose 5851584
Link the registration to the browser through a signed cookie
sandhose 02db622
Expire registration sessions after an hour
sandhose 1ec6192
Check with the homeserver the username is still available before regi…
sandhose ef74d47
Cleanup the unverified emails from the database
sandhose 6092efe
Merge branch 'main' into quenting/optional-email
sandhose ef077d0
Rate-limit email authentications
sandhose 7e6ab8f
Disclose that email is already in use after verification
sandhose 244ec18
Merge remote-tracking branch 'origin/main' into quenting/optional-email
sandhose a83cdfb
Clarify that VerifyEmailJob is kept for flushing old jobs
sandhose 8d50088
Apply code style suggestion
sandhose File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.