nixos/hedgedoc: do not require to set searchAttributes when ldap login is used

This commit is contained in:
Sandro Jäckel 2022-07-24 03:45:16 +02:00
parent 6d1b077c1b
commit 1a7f6b4070
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -843,7 +843,8 @@ in
'';
};
searchAttributes = mkOption {
type = types.listOf types.str;
type = types.nullOr (types.listOf types.str);
default = null;
example = [ "displayName" "mail" ];
description = ''
LDAP attributes to search with.