1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

added compatibility with a case-insensitive authentication provider

This commit is contained in:
IM 2024-04-17 18:31:51 +03:00
parent 76dc9dce0d
commit 239e17d735
5 changed files with 17 additions and 4 deletions

View file

@ -127,7 +127,7 @@ class Auth(auth.BaseAuth):
# assumed plaintext
return self._plain(hash_value, password)
def login(self, login: str, password: str) -> str:
def _login(self, login: str, password: str) -> str:
"""Validate credentials.
Iterate through htpasswd credential file until login matches, extract