[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:
parent
9e7ea29f5e
commit
f8e3c748c0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user