forked from MarseyWorld/MarseyWorld
tell ppl to check their spam folder just in case
parent
a40dee5bd8
commit
e96f121f3f
|
@ -400,7 +400,7 @@ def post_forgot():
|
|||
)
|
||||
|
||||
return render_template("login/forgot_password.html",
|
||||
msg="If the username and email matches an account, you will be sent a password reset email. You have ten minutes to complete the password reset process."), 202
|
||||
msg="If the username and email matches an account, you will be sent a password reset email. Check your spam folder if you can't find it."), 202
|
||||
|
||||
|
||||
@app.get("/reset")
|
||||
|
@ -512,7 +512,7 @@ def request_2fa_disable():
|
|||
|
||||
return render_template("message.html",
|
||||
title="Removal request received",
|
||||
message="If username, password, and email match, we will send you an email."), 202
|
||||
message="If the username, password, and email match, we will send you an email. Check your spam folder if you can't find it."), 202
|
||||
|
||||
@app.get("/reset_2fa")
|
||||
def reset_2fa():
|
||||
|
|
|
@ -14,7 +14,7 @@ from files.__main__ import app, limiter
|
|||
@auth_required
|
||||
def verify_email(v):
|
||||
send_verification_email(v)
|
||||
return {"message": "Email has been sent (ETA ~5 minutes)"}
|
||||
return {"message": "Email has been sent. Check your spam folder if you can't find it."}
|
||||
|
||||
|
||||
@app.get("/activate")
|
||||
|
|
|
@ -497,7 +497,7 @@ def settings_security_post(v):
|
|||
v=v)
|
||||
)
|
||||
|
||||
return render_template("settings/security.html", v=v, msg="Check your email and click the verification link to complete the email change.")
|
||||
return render_template("settings/security.html", v=v, msg="We have sent you an email, click the verification link inside it to complete the email change. Check your spam folder if you can't find it.")
|
||||
|
||||
if request.values.get("2fa_token"):
|
||||
if not v.verifyPass(request.values.get('password')):
|
||||
|
|
Loading…
Reference in New Issue