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