Debug html formatting

This commit is contained in:
Vivek Santayana 2022-06-16 14:13:25 +01:00
parent f6231dc779
commit d0166f0901

View File

@ -212,7 +212,7 @@ class User(UserMixin, db.Model):
<p>Hello {self.get_username()},</p>
<p>Your administrator account for the SKA RefTest App has been updated by {current_user.get_username()}.</p>
<p>Your new account details are as follows:</p>
<p>Email: {email} <br/> Password: <strong>{password if password else '<same as old>'}</strong></p>
<p>Email: {email} <br/> Password: <strong>{password if password else '&lt;same as old&gt;'}</strong></p>
<p>You can update your email address and password by logging in to the admin console using the following URL:</p>
<p><a href='{url_for('admin._home', _external=True)}'>{url_for('admin._home', _external=True)}</a></p>
<p>Have a nice day!</p>