mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +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:
1 parent
5cebe7ffe0
commit
dc3439fd70
2 files changed
+2
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user