fix nextcloud when sp.modules.auth.enable is true

This commit is contained in:
Alexander Tomokhov
2025-01-29 13:21:36 +04:00
parent 2cc5743152
commit 857d6729ef
2 changed files with 7 additions and 1 deletions

View File

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