Merge pull request #3883 from jumpserver/master_bai

Master bai
pull/3884/head
BaiJiangJie 5 years ago committed by GitHub
commit 508d1c2c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,7 +157,7 @@ class Client(object):
userinfo = self.get_userinfo(token=token_response['access_token'])
with transaction.atomic():
name = userinfo.get('name', '')
username = userinfo.get('preferred_username', ''),
username = userinfo.get('preferred_username', '')
email = userinfo.get('email', '')
email = construct_user_email(username, email)

Loading…
Cancel
Save