Add frontend open registration flow #30
Merged
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.
(#28) Initial pass at sign up flow for when open registration is enabled.
@ikreymer I'll leave this open for testing backend changes to send emails. Right now the verify path is configured as
/verify?token=
but this can easily change.Flow:
a. If user is not active, shown success message
b. If user is immediately active upon sign up (checking
is_active
), user is logged in automatically and redirected to dashboarda. If verification is successful, user is sent to log in page (or is there a way to automatically log them in?)
Manual testing
yarn start-dev
Screenshots
Sign up form:
Verification status: