[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 9e7ea29f5e
commit f8e3c748c0

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