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

add reset for reset_key on successful password change #2379

Merged
merged 1 commit into from
Apr 23, 2015
Merged

add reset for reset_key on successful password change #2379

merged 1 commit into from
Apr 23, 2015

Conversation

nateprewitt
Copy link
Contributor

and associated test.

Fix for #2370

@wardi
Copy link
Contributor

wardi commented Apr 2, 2015

@nateprewitt nice! Thanks.

@wardi wardi self-assigned this Apr 2, 2015
@wardi
Copy link
Contributor

wardi commented Apr 2, 2015

We're not adding new tests to tests/legacy at this time, would you move the test to tests/controllers/test_user.py instead?

@nateprewitt
Copy link
Contributor Author

Yep, wasn't sure where to put it so I grouped it with the other perform_reset tests. I'll move it over now.

@nateprewitt
Copy link
Contributor Author

I had to import create_reset_key from mailer.py to initialize the reset_key in the model.

If there's a cleaner interface to do this, let me know and I'll make the fix.

@wardi wardi merged commit 76f84bc into ckan:master Apr 23, 2015
@wardi
Copy link
Contributor

wardi commented Apr 23, 2015

@amercader how far can we backport this one?

amercader added a commit that referenced this pull request May 11, 2015
amercader added a commit that referenced this pull request May 11, 2015
@amercader
Copy link
Member

@wardi all the way down to 2.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants