fix auth: config.selfprivacy.modules.auth.enable or false

This commit is contained in:
Alexander Tomokhov
2025-01-17 15:53:21 +04:00
parent f43ec2686d
commit f795bc977f
6 changed files with 9 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ let
hostName = "${cfg.subdomain}.${sp.domain}";
auth-passthru = config.passthru.selfprivacy.auth;
is-auth-enabled = config.selfprivacy.modules.auth.enable;
is-auth-enabled = config.selfprivacy.modules.auth.enable or false;
cfg = sp.modules.nextcloud;
ldap_scheme_and_host = "ldaps://${auth-passthru.ldap-host}";