From 8dcb7b91efc190c8490b157705939dca22ee3b96 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 23 Jul 2018 12:56:53 +0200 Subject: [PATCH] [Bugfix] Fix jumping to first steps page upon initial login This was missing from when the first steps view got moved to the accounts blueprint. --- calsocial/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calsocial/__init__.py b/calsocial/__init__.py index 6f57891..a4e105c 100644 --- a/calsocial/__init__.py +++ b/calsocial/__init__.py @@ -107,7 +107,7 @@ class CalendarSocialApp(Flask, RoutedMixin): if current_user.is_authenticated and \ not current_user.profile and \ - request.endpoint != 'first_steps': + request.endpoint != 'account.first_steps': return redirect(url_for('account.first_steps')) return None