This commit is contained in:
Paulus Schoutsen 2018-09-11 12:55:05 +02:00 committed by GitHub
parent 9583947012
commit 4e3faf6108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ class AuthStore:
continue
token_type = rt_dict.get('token_type')
if token_type is None:
if rt_dict['clinet_id'] is None:
if rt_dict['client_id'] is None:
token_type = models.TOKEN_TYPE_SYSTEM
else:
token_type = models.TOKEN_TYPE_NORMAL