This commit is contained in:
Paulus Schoutsen
2018-09-11 12:55:05 +02:00
committed by GitHub
parent 9583947012
commit 4e3faf6108

View File

@@ -235,7 +235,7 @@ class AuthStore:
continue continue
token_type = rt_dict.get('token_type') token_type = rt_dict.get('token_type')
if token_type is None: 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 token_type = models.TOKEN_TYPE_SYSTEM
else: else:
token_type = models.TOKEN_TYPE_NORMAL token_type = models.TOKEN_TYPE_NORMAL