Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions modoboa_installer/scripts/files/radicale/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@
[auth]

# Authentication method
# Value: none | htpasswd | remote_user | http_x_remote_user
type = radicale_dovecot_auth
# Value: none | htpasswd | remote_user | http_x_remote_user | radicale_dovecot_auth | radicale_modoboa_token_auth
type = radicale_modoboa_token_auth
radicale_modoboa_token_auth_check_url = https://%{hostname}/api/v1/user-calendars/check_token/
radicale_modoboa_token_auth_token = <generate_and_replace_with_generated_API_key>

# Htpasswd filename
# htpasswd_filename = users
Expand Down
2 changes: 1 addition & 1 deletion modoboa_installer/scripts/radicale.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _setup_venv(self):
python.setup_virtualenv(
self.venv_path, sudo_user=self.user, python_version=3)
packages = [
"Radicale", "radicale-dovecot-auth", "pytz"
"Radicale", "radicale-dovecot-auth", "radicale-modoboa-token-auth", "pytz"
]
python.install_packages(packages, self.venv_path, sudo_user=self.user)
python.install_package_from_repository(
Expand Down