From d0166f09011b1444339b210ee6e6becf327492cc Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Thu, 16 Jun 2022 14:13:25 +0100 Subject: [PATCH] Debug html formatting --- ref-test/app/models/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref-test/app/models/user.py b/ref-test/app/models/user.py index 59f1f91..a1f22c6 100644 --- a/ref-test/app/models/user.py +++ b/ref-test/app/models/user.py @@ -212,7 +212,7 @@ class User(UserMixin, db.Model):

Hello {self.get_username()},

Your administrator account for the SKA RefTest App has been updated by {current_user.get_username()}.

Your new account details are as follows:

-

Email: {email}
Password: {password if password else ''}

+

Email: {email}
Password: {password if password else '<same as old>'}

You can update your email address and password by logging in to the admin console using the following URL:

{url_for('admin._home', _external=True)}

Have a nice day!