fix nextcloud when sp.modules.auth.enable is true
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
[
|
[
|
||||||
[ "passthru", "selfprivacy", "auth", "admins-group" ],
|
[ "passthru", "selfprivacy", "auth", "admins-group" ],
|
||||||
[ "passthru", "selfprivacy", "auth", "full-users-group" ],
|
[ "passthru", "selfprivacy", "auth", "full-users-group" ],
|
||||||
|
[ "passthru", "selfprivacy", "auth", "ldap-base-dn" ],
|
||||||
|
[ "passthru", "selfprivacy", "auth", "ldap-host" ],
|
||||||
|
[ "passthru", "selfprivacy", "auth", "ldap-port" ],
|
||||||
|
[ "passthru", "selfprivacy", "auth", "oauth2-discovery-url" ],
|
||||||
|
[ "passthru", "selfprivacy", "auth", "oauth2-provider-name" ],
|
||||||
|
[ "passthru", "selfprivacy", "auth", "oauth2-systemd-service" ],
|
||||||
[ "security", "acme", "certs" ],
|
[ "security", "acme", "certs" ],
|
||||||
[ "selfprivacy", "domain" ],
|
[ "selfprivacy", "domain" ],
|
||||||
[ "selfprivacy", "modules", "auth", "enable" ],
|
[ "selfprivacy", "modules", "auth", "enable" ],
|
||||||
|
@@ -11,7 +11,7 @@ let
|
|||||||
|
|
||||||
hostName = "${cfg.subdomain}.${sp.domain}";
|
hostName = "${cfg.subdomain}.${sp.domain}";
|
||||||
auth-passthru = config.passthru.selfprivacy.auth;
|
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;
|
cfg = sp.modules.nextcloud;
|
||||||
ldap_scheme_and_host = "ldaps://${auth-passthru.ldap-host}";
|
ldap_scheme_and_host = "ldaps://${auth-passthru.ldap-host}";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user