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

Fixed the new bind-less password change in ProtoUser #1703

Merged
merged 1 commit into from
Apr 28, 2015

Conversation

dpp
Copy link
Member

@dpp dpp commented Apr 28, 2015

Fixed an issue with the way CSS Selectors work so that password change in ProtoUser works again.

@Shadowfiend
Copy link
Member

Just to check here, the issue at hand was that the CSS bind will bind two separate password inputs that will each receive one value, instead of creating one password input bound in two places, right?

@dpp
Copy link
Member Author

dpp commented Apr 28, 2015

Yep... 2 different functions, 2 different values... neither sets the right thing in the duplicate password in the User

@Shadowfiend
Copy link
Member

Yep, I've been bitten by the laziness of CSS selector binds like this before… Obviously I haven't learned my lesson yet 😞

👍 on the change, let's get it in.

Shadowfiend added a commit that referenced this pull request Apr 28, 2015
Fixed the new bind-less password change in ProtoUser

The right side of CSS selector transforms is call-by-name, so we were computing
two separate password fields for the password and confirmation input. As a result,
we were failing to set the password because the confirmation input and password
input both registered as not having a confirmation submitted for them. We now
generate the password input ahead of time and reuse it to get the right behavior.
@Shadowfiend Shadowfiend merged commit bc13fa9 into master Apr 28, 2015
@Shadowfiend Shadowfiend deleted the working_pwd_reset branch April 28, 2015 18:09
@fmpwizard fmpwizard added this to the 3.0-M6 milestone Apr 29, 2015
@hedefalk
Copy link
Contributor

Ah, got it! Thanks!

And sorry for taking your time, I just hate to drop it when I don't understand something…

@Shadowfiend
Copy link
Member

As well it should be :)

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.

5 participants