tell ppl to check their spam folder just in case

master
Aevann 2023-01-21 07:36:27 +02:00
parent a40dee5bd8
commit e96f121f3f
3 changed files with 4 additions and 4 deletions

View File

@ -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():

View File

@ -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")

View File

@ -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')):