mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
radicale: Enable lc_username for case-insensitive auth
Enable lc_username = True in [auth] section during setup. Bump version. Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
5cebe7ffe0
commit
dc3439fd70
@ -45,7 +45,7 @@ class RadicaleApp(app_module.App):
|
|||||||
|
|
||||||
app_id = 'radicale'
|
app_id = 'radicale'
|
||||||
|
|
||||||
_version = 5
|
_version = 6
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
"""Create components for the app."""
|
"""Create components for the app."""
|
||||||
|
|||||||
@ -24,6 +24,7 @@ def setup():
|
|||||||
"""
|
"""
|
||||||
aug = load_augeas()
|
aug = load_augeas()
|
||||||
aug.set('auth/type', 'remote_user')
|
aug.set('auth/type', 'remote_user')
|
||||||
|
aug.set('auth/lc_username', 'True')
|
||||||
aug.save()
|
aug.save()
|
||||||
# Service is started again by socket.
|
# Service is started again by socket.
|
||||||
action_utils.service_stop(SERVICE_NAME)
|
action_utils.service_stop(SERVICE_NAME)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user