This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(email-first): Ensure "Mistyped email" links work as expected.
If a relier specified an email for the email-first flow, users that clicked on "Mistyped email" saw no visible change in the screen. In reality, there was a subtle change, the user was redirected to `/`, but the redirected back to `/signin` or `/signup`. This happened because on the 2nd render, the index page saw that the relier model contained an email address and redirected back to where the user just was. To get around this, before checking the email and redirecting, clear the email from the relier model. The email is saved into the formPrefill model since the email elements on the next page have a `name` attribute, and that will be used to prefill the email when the user comes back. Clear as mud, huh? fixes #6033
- Loading branch information
Shane Tomlinson
committed
Apr 13, 2018
1 parent
4e5a462
commit e032f58
Showing
7 changed files
with
58 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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