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

Add: option [auth] uc_username for uppercase conversion (similar to existing lc_username)

This commit is contained in:
Peter Bieringer 2024-12-14 09:25:36 +01:00
parent 0d29de6db9
commit 3ebe51a4cb
5 changed files with 30 additions and 0 deletions

View file

@ -247,6 +247,10 @@ DEFAULT_CONFIG_SCHEMA: types.CONFIG_SCHEMA = OrderedDict([
"value": "False",
"help": "strip domain from username",
"type": bool}),
("uc_username", {
"value": "False",
"help": "convert username to uppercase, must be true for case-insensitive auth providers",
"type": bool}),
("lc_username", {
"value": "False",
"help": "convert username to lowercase, must be true for case-insensitive auth providers",