Skip to content

Commit

Permalink
Merge pull request #812 from dannon/prt_email_tweak
Browse files Browse the repository at this point in the history
Tweak password reset email template to truly be plain text.
  • Loading branch information
blankenberg committed Sep 29, 2015
2 parents 75cc567 + 90f63a4 commit 5318757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/webapps/galaxy/controllers/user.py
Expand Up @@ -48,7 +48,7 @@
To reset your Galaxy password for the instance at %s use the following link,
which will expire %s.
<a href="%s">%s</a>
%s
If you did not make this request, no action is necessary on your part, though
you may want to notify an administrator.
Expand Down Expand Up @@ -1199,7 +1199,7 @@ def reset_password( self, trans, email=None, **kwd ):
action="change_password",
token=prt.token, qualified=True)
body = PASSWORD_RESET_TEMPLATE % ( host, prt.expiration_time.strftime(trans.app.config.pretty_datetime_format),
reset_url, reset_url )
reset_url )
frm = trans.app.config.email_from or 'galaxy-no-reply@' + host
subject = 'Galaxy Password Reset'
try:
Expand Down

0 comments on commit 5318757

Please sign in to comment.