Debug password reset url
This commit is contained in:
parent
5c8435d39e
commit
f6231dc779
@ -122,7 +122,7 @@ class User(UserMixin, db.Model):
|
|||||||
{new_password}\n\n
|
{new_password}\n\n
|
||||||
You may use this to log back in to your account, and subsequently change your password to something more suitable.\n\n
|
You may use this to log back in to your account, and subsequently change your password to something more suitable.\n\n
|
||||||
Alternatively, you may visit the following private link using your unique token to override your password. Copy and paste the following link in a web browser. Please note that this token is only valid once:\n\n
|
Alternatively, you may visit the following private link using your unique token to override your password. Copy and paste the following link in a web browser. Please note that this token is only valid once:\n\n
|
||||||
{url_for('admin_auth.reset_gateway', token = self.reset_token, verification = self.verification_token, _external = True)}\n\n
|
{url_for('admin._reset', token = self.reset_token, verification = self.verification_token, _external = True)}\n\n
|
||||||
Hopefully, this should enable access to your account once again.\n\n
|
Hopefully, this should enable access to your account once again.\n\n
|
||||||
Have a nice day!\n\n
|
Have a nice day!\n\n
|
||||||
SKA Refereeing
|
SKA Refereeing
|
||||||
@ -136,7 +136,7 @@ class User(UserMixin, db.Model):
|
|||||||
<strong>{new_password}</strong>
|
<strong>{new_password}</strong>
|
||||||
<p>You may use this to log back in to your account, and subsequently change your password to something more suitable.</p>
|
<p>You may use this to log back in to your account, and subsequently change your password to something more suitable.</p>
|
||||||
<p>Alternatively, you may visit the following private link using your unique token to override your password. Copy and paste the following link in a web browser. Please note that this token is only valid once:</p>
|
<p>Alternatively, you may visit the following private link using your unique token to override your password. Copy and paste the following link in a web browser. Please note that this token is only valid once:</p>
|
||||||
<p><a href='{url_for('admin_auth.reset_gateway', token = self.reset_token, verification = self.verification_token, _external = True)}'>{url_for('admin_auth.reset_gateway', token = self.reset_token, verification = self.verification_token, _external = True)}</a></p>
|
<p><a href='{url_for('admin._reset', token = self.reset_token, verification = self.verification_token, _external = True)}'>{url_for('admin._reset', token = self.reset_token, verification = self.verification_token, _external = True)}</a></p>
|
||||||
<p>Hopefully, this should enable access to your account once again.</p>
|
<p>Hopefully, this should enable access to your account once again.</p>
|
||||||
<p>Have a nice day!</p>
|
<p>Have a nice day!</p>
|
||||||
<p>SKA Refereeing</p>
|
<p>SKA Refereeing</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user