[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
67537732c0
commit
8dcb7b91ef
@ -107,7 +107,7 @@ class CalendarSocialApp(Flask, RoutedMixin):
|
|||||||
|
|
||||||
if current_user.is_authenticated and \
|
if current_user.is_authenticated and \
|
||||||
not current_user.profile and \
|
not current_user.profile and \
|
||||||
request.endpoint != 'first_steps':
|
request.endpoint != 'account.first_steps':
|
||||||
return redirect(url_for('account.first_steps'))
|
return redirect(url_for('account.first_steps'))
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user