aboutsummaryrefslogtreecommitdiff
path: root/app/blueprints/users/profile.py
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-11-21 19:38:26 +0000
committerrubenwardy <rw@rubenwardy.com>2019-11-21 19:38:32 +0000
commit39d4cf362b74d9c62b05c1a273de749b18368a12 (patch)
treeb62c6ca3a6e15f7d543f1aca089b2fb34928312a /app/blueprints/users/profile.py
parentb977a42738d4f4264108040221b234dd4a0f4a0a (diff)
downloadcheatdb-39d4cf362b74d9c62b05c1a273de749b18368a12.tar.xz
Fix url_for crash on "home_page"v1.19.0
Diffstat (limited to 'app/blueprints/users/profile.py')
-rw-r--r--app/blueprints/users/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/blueprints/users/profile.py b/app/blueprints/users/profile.py
index a3c592c..8e6bfe9 100644
--- a/app/blueprints/users/profile.py
+++ b/app/blueprints/users/profile.py
@@ -306,4 +306,4 @@ def verify_email():
if current_user.is_authenticated:
return redirect(url_for("users.profile", username=current_user.username))
else:
- return redirect(url_for("home_page"))
+ return redirect(url_for("homepage.home"))