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

Display username in password reset email #2528

Closed
wants to merge 1 commit into from

Conversation

gasman
Copy link
Collaborator

@gasman gasman commented Apr 27, 2016

Fixes #2240

Add "Your username (in case you've forgotten):" to the bottom of the password reset email (but only if there's actually a username field that's distinct from email).

@gasman gasman added this to the 1.5 milestone Apr 27, 2016
@gasman
Copy link
Collaborator Author

gasman commented Apr 28, 2016

Just noticed that Django's default template does this (and reveals that it can be done without a custom template tag after all...)

https://raw.githubusercontent.com/django/django/master/django/contrib/admin/templates/registration/password_reset_email.html

kaedroho added a commit that referenced this pull request May 4, 2016
kaedroho added a commit that referenced this pull request May 4, 2016
@kaedroho
Copy link
Contributor

kaedroho commented May 4, 2016

Merged in 3a6018e then tweaked in fdfbe68

Thanks!

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.

None yet

3 participants