[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.
This commit is contained in:
Gergely Polonkai 2018-07-23 12:56:53 +02:00
parent 67537732c0
commit 8dcb7b91ef
1 changed files with 1 additions and 1 deletions

View File

@ -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