mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 10:55:40 +00:00
Azure oauth: remove preferredName from query
This commit is contained in:
parent
bd1eb3cce9
commit
b8442c4c5c
@ -201,7 +201,7 @@ def login():
|
|||||||
return redirect(url_for('index.index'))
|
return redirect(url_for('index.index'))
|
||||||
|
|
||||||
if 'azure_token' in session:
|
if 'azure_token' in session:
|
||||||
azure_info = azure.get('me?$select=displayName,givenName,id,mail,surname,userPrincipalName,preferredName').text
|
azure_info = azure.get('me?$select=displayName,givenName,id,mail,surname,userPrincipalName').text
|
||||||
current_app.logger.info('Azure login returned: '+azure_info)
|
current_app.logger.info('Azure login returned: '+azure_info)
|
||||||
me = json.loads(azure_info)
|
me = json.loads(azure_info)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user