Add claim call to action on unclaimed accounts

This commit is contained in:
rubenwardy
2018-05-29 18:16:05 +01:00
parent 6353ac29e9
commit 63a3b5e872
6 changed files with 16 additions and 5 deletions

View File

@@ -194,7 +194,7 @@ def user_claim_page():
user = User.query.filter_by(forums_username=username).first()
if user is not None and user.rank.atLeast(UserRank.NEW_MEMBER):
flash("That user has already been claimed!", "error")
return redirect(url_for("user_claim_page", username=username))
return redirect(url_for("user_claim_page"))
# Get signature
sig = None