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:
parent
3333333829
commit
23b5bf109c
|
@ -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;
|
||||
};
|
||||
}];
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user