Fix formatting

This commit is contained in:
Son NK 2019-12-30 15:56:47 +01:00
parent 2cbeab9c8e
commit ca6c32f951
3 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ def new_custom_alias():
return (
jsonify(
error="You have reached the limitation of a free account with the maximum of "
"3 custom aliases, please upgrade your plan to create more custom aliases"
"3 custom aliases, please upgrade your plan to create more custom aliases"
),
400,
)

View File

@ -22,7 +22,9 @@ def activate():
if not activation_code:
return (
render_template("auth/activate.html", error="Activation code cannot be found"),
render_template(
"auth/activate.html", error="Activation code cannot be found"
),
400,
)

View File

@ -33,9 +33,7 @@ def reset_password():
return render_template("auth/reset_password.html", form=form, error=error)
if reset_password_code.is_expired():
error = (
"The link has been already expired. Please make a new request of the reset password link"
)
error = "The link has been already expired. Please make a new request of the reset password link"
return render_template("auth/reset_password.html", form=form, error=error)
if form.validate_on_submit():