22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-11 10:44:10 +02:00

matrix: fix filter options

This commit is contained in:
Sandro - 2023-07-02 21:30:06 +02:00
parent 3333333829
commit 23b5bf109c
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -115,8 +115,8 @@ in
bind_dn = ldap.bindDN;
bind_password_file = cfg.ldap.bindPasswordFile;
tls_options.validate = true;
} // lib.optionalAttrs (cfg.ldap.userFilter != null) {
filter = cfg.ldap.userFilter;
} // lib.optionalAttrs (cfg.ldap.userGroup != null) {
filter = ldap.userFilter cfg.ldap.userGroup;
};
}];
})