aboutsummaryrefslogtreecommitdiff
path: root/app/blueprints/users/claim.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/blueprints/users/claim.py')
-rw-r--r--app/blueprints/users/claim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/blueprints/users/claim.py b/app/blueprints/users/claim.py
index b8b562e..ad5aa2c 100644
--- a/app/blueprints/users/claim.py
+++ b/app/blueprints/users/claim.py
@@ -87,7 +87,7 @@ def claim():
return redirect(url_for("users.claim", username=username))
# Look for key
- if token in sig:
+ if sig and token in sig:
if user is None:
user = User(username)
user.forums_username = username