From 90f63a401b0c7c15dfca19f6d9f2c1546216127c Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 29 Sep 2015 11:37:20 -0400 Subject: [PATCH] Tweak password reset email template to truly be plain text. --- lib/galaxy/webapps/galaxy/controllers/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/user.py b/lib/galaxy/webapps/galaxy/controllers/user.py index 2c69c4f67ba8..2b0c735df892 100644 --- a/lib/galaxy/webapps/galaxy/controllers/user.py +++ b/lib/galaxy/webapps/galaxy/controllers/user.py @@ -48,7 +48,7 @@ To reset your Galaxy password for the instance at %s use the following link, which will expire %s. -%s +%s If you did not make this request, no action is necessary on your part, though you may want to notify an administrator. @@ -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: