fix callback redirect
This commit is contained in:
parent
ad3498f339
commit
7a99ae7dfb
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def oauth2_callback(provider):
|
|||
|
||||
# log the user in
|
||||
login_user(user)
|
||||
return redirect(url_for('index'))
|
||||
return redirect(url_for('main.index'))
|
||||
|
||||
@auth.before_app_request
|
||||
def before_request():
|
||||
|
|
Loading…
Reference in a new issue