mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
fix reset_password show twice in reset email (#134)
it made something like http://localhost:4000/reset_password/reset_password/Ilx1MzA1NVx1MzA0Zlx1MzA4OVx1ODM1OCIuQ25zSEN3LlVxRlBxUzB4clR6QzdkREdaR2hBLWIz Y1FRcw== it should be http://localhost:4000/reset_password/Ilx1MzA1NVx1MzA0Zlx1MzA4OVx1ODM1OCIuQ25zSEN3LlVxRlBxUzB4clR6QzdkREdaR2hBLWIz Y1FRcw==
This commit is contained in:
@@ -67,7 +67,7 @@ def reset_password(data=None):
|
|||||||
text = """
|
text = """
|
||||||
Did you initiate a password reset?
|
Did you initiate a password reset?
|
||||||
|
|
||||||
{0}/reset_password/{1}
|
{0}/{1}
|
||||||
|
|
||||||
""".format(url_for('auth.reset_password', _external=True), token.encode('base64'))
|
""".format(url_for('auth.reset_password', _external=True), token.encode('base64'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user