mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-27 15:54:16 +00:00
Fix token name in session for OIDC and GitHub authentication
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user