Skip to content

Commit

Permalink
Merge pull request #233 from rdonnelly/master
Browse files Browse the repository at this point in the history
password reset fix
  • Loading branch information
rdonnelly authored Jan 3, 2021
2 parents eb3a279 + c73fb65 commit 3e9db70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ultimate/settings/base.py.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Django settings for ultimate-league-app project.

ADMINS = (
('Ann Arbor Ultimate', 'webmaster@annarborultimate.org'),
('Ann Arbor Ultimate', 'web@annarborultimate.org'),
)

DEFAULT_FROM_EMAIL = 'Ann Arbor Ultimate <webmaster@a2ultimate.org>'
DEFAULT_FROM_EMAIL = 'Ann Arbor Ultimate <web@annarborultimate.org>'

MANAGERS = ADMINS

Expand Down
2 changes: 1 addition & 1 deletion src/ultimate/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

{% block content %}
<h1>500 Unexpected Error</h1>
<p>There was an unexpected error. Please email <a href="mailto:webmaster@annarborultimate.org">webmaster@annarborultimate.org</a> with details.</p>
<p>There was an unexpected error. Please email <a href="mailto:web@annarborultimate.org">web@annarborultimate.org</a> with details.</p>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
{{ protocol }}://{{ domain }}{% url 'django.contrib.auth.views.password_reset_confirm' uidb64=uid token=token %}
{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
{% endblock %}
{% trans "Your email, in case you have forgotten:" %} {{ user.email }}

Expand Down

0 comments on commit 3e9db70

Please sign in to comment.