mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-06 10:20:43 +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'
|
||||
|
||||
_version = 5
|
||||
_version = 6
|
||||
|
||||
def __init__(self) -> None:
|
||||
"""Create components for the app."""
|
||||
|
||||
@ -24,6 +24,7 @@ def setup():
|
||||
"""
|
||||
aug = load_augeas()
|
||||
aug.set('auth/type', 'remote_user')
|
||||
aug.set('auth/lc_username', 'True')
|
||||
aug.save()
|
||||
# Service is started again by socket.
|
||||
action_utils.service_stop(SERVICE_NAME)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user