This commit is contained in:
parent
970da93192
commit
7a6495b405
|
@ -52,11 +52,11 @@ class ChargePoint(cp):
|
|||
db.add(db_id_token)
|
||||
|
||||
id_token_info=IdTokenInfoType(
|
||||
status=AuthorizationStatusType.accepted,
|
||||
group_id_token=IdTokenType(
|
||||
type=IdTokenEnumType.central,
|
||||
id_token=str(db_id_token.owner_id)
|
||||
)
|
||||
status=AuthorizationStatusType.accepted#,
|
||||
#group_id_token=IdTokenType(
|
||||
#type=IdTokenEnumType.central,
|
||||
#id_token=str(db_id_token.owner_id)
|
||||
#)
|
||||
)
|
||||
db_chargepoint.learn_user_id = None
|
||||
db_chargepoint.learn_until = None
|
||||
|
@ -68,11 +68,11 @@ class ChargePoint(cp):
|
|||
)
|
||||
else:
|
||||
id_token_info=IdTokenInfoType(
|
||||
status=AuthorizationStatusType.accepted,
|
||||
group_id_token=IdTokenType(
|
||||
type=IdTokenEnumType.central,
|
||||
id_token=str(db_id_token.owner_id)
|
||||
)
|
||||
status=AuthorizationStatusType.accepted#,
|
||||
#group_id_token=IdTokenType(
|
||||
#type=IdTokenEnumType.central,
|
||||
#id_token=str(db_id_token.owner_id)
|
||||
#)
|
||||
)
|
||||
return id_token_info
|
||||
|
||||
|
|
Loading…
Reference in a new issue