Skip to content
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

Don't clear email field after reset password #945

Merged
merged 2 commits into from
Mar 27, 2017

Conversation

luisrudge
Copy link
Contributor

fix #933

@luisrudge luisrudge added this to the v10-Next milestone Mar 24, 2017
@hzalaz hzalaz changed the title don't clear email field after reset password Don't clear email field after reset password Mar 27, 2017
@@ -181,7 +181,7 @@ function resetPasswordSuccess(id) {
const m = read(getEntity, "lock", id);
if (hasScreen(m, "login")) {
swap(updateEntity, "lock", id, m => (
setScreen(l.setSubmitting(m, false), "login")
setScreen(l.setSubmitting(m, false), "login", [""])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment why there is a [""] as a parameter since we will quickly forget and maybe add a FIXME so we fit it eventually

@luisrudge luisrudge force-pushed the fix/dont-clear-email-after-reset-password branch from d6b9ea2 to 4ddddbf Compare March 27, 2017 17:08
@luisrudge luisrudge merged commit 448f75c into master Mar 27, 2017
@luisrudge luisrudge deleted the fix/dont-clear-email-after-reset-password branch March 27, 2017 17:15
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.

prefill option is lost after reset password
2 participants