diff --git a/app/ocpp_proto/chargepoint.py b/app/ocpp_proto/chargepoint.py index bb9042d..8c16f9f 100644 --- a/app/ocpp_proto/chargepoint.py +++ b/app/ocpp_proto/chargepoint.py @@ -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