diff --git a/src/aiovodafone/api.py b/src/aiovodafone/api.py index 025f4b8..fd7b2e3 100644 --- a/src/aiovodafone/api.py +++ b/src/aiovodafone/api.py @@ -2,7 +2,6 @@ import asyncio import hashlib import hmac -import html import re import urllib.parse from dataclasses import dataclass @@ -109,8 +108,6 @@ async def _get_user_lang(self) -> None: async def _encrypt_string(self, credential: str) -> str: """Encrypt username or password for login.""" - credential = urllib.parse.quote(credential) - credential = html.unescape(credential) hash1_str = hmac.new( bytes("$1$SERCOMM$", "latin-1"), msg=bytes(credential, "latin-1"),