mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Fix token name in session for OIDC and GitHub authentication
This commit is contained in:
parent
52eb62a911
commit
b421b9b38a
@ -12,7 +12,7 @@ def github_oauth():
|
||||
return session.get('github_token')
|
||||
|
||||
def update_token(token):
|
||||
session['google_token'] = token
|
||||
session['github_token'] = token
|
||||
return token
|
||||
|
||||
github = authlib_oauth_client.register(
|
||||
|
@ -12,7 +12,7 @@ def oidc_oauth():
|
||||
return session.get('oidc_token')
|
||||
|
||||
def update_token(token):
|
||||
session['google_token'] = token
|
||||
session['oidc_token'] = token
|
||||
return token
|
||||
|
||||
oidc = authlib_oauth_client.register(
|
||||
|
Loading…
Reference in New Issue
Block a user