add "Please"

pull/225/head
Aevann 2024-03-23 00:30:31 +02:00
parent fc1895bfb1
commit e0b63cf068
3 changed files with 4 additions and 4 deletions

View File

@ -406,7 +406,7 @@ def post_forgot():
html=render_template("email/password_reset.html", action_url=url, v=user),
)
return render_template("login/forgot_password.html", msg="An email was sent to you. Check your spam folder if you can't find it.")
return render_template("login/forgot_password.html", msg="An email was sent to you. Please check your spam folder if you can't find it.")
@app.get("/reset")
@ -529,7 +529,7 @@ def lost_2fa_post():
return render_template("message.html",
title="Removal request received",
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
message="If the username, password, and email match, we will send you an email. Please check your spam folder if you can't find it."), 202
@app.get("/reset_2fa")
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)

View File

@ -20,7 +20,7 @@ def verify_email(v):
abort(400, "Email already verified!")
send_verification_email(v)
return {"message": "Email has been sent. Check your spam folder if you can't find it!"}
return {"message": "Email has been sent. Please check your spam folder if you can't find it!"}
@app.get("/activate")

View File

@ -540,7 +540,7 @@ def settings_security_post(v):
html=render_template("email/email_change.html", action_url=link, v=v),
)
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!")
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. Please check your spam folder if you can't find it!")
if request.values.get("2fa_token"):
if not v.verifyPass(request.values.get('password')):