From e96f121f3f3724b2be541eea947d0505d04b8fe2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 21 Jan 2023 07:36:27 +0200 Subject: [PATCH] tell ppl to check their spam folder just in case --- files/routes/login.py | 4 ++-- files/routes/mail.py | 2 +- files/routes/settings.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/files/routes/login.py b/files/routes/login.py index dac433f6e..9215e78d4 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -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(): diff --git a/files/routes/mail.py b/files/routes/mail.py index 77c5fcaa1..891a26fa4 100644 --- a/files/routes/mail.py +++ b/files/routes/mail.py @@ -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") diff --git a/files/routes/settings.py b/files/routes/settings.py index 819b9685d..9b609c241 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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')):