base/users: fix empty password handling
This commit is contained in:
parent
88da46eb98
commit
741c21214f
@ -49,11 +49,7 @@ in {
|
||||
myData.people_pubkeys.motiejus
|
||||
];
|
||||
}
|
||||
// lib.filterAttrs (
|
||||
n: v:
|
||||
(n == "hashedPasswordFile" || n == "initialPassword") && v != null
|
||||
)
|
||||
cfg.user or {};
|
||||
// lib.filterAttrs (_: v: v != null) cfg.user or {};
|
||||
|
||||
root = lib.filterAttrs (_: v: v != null) cfg.root;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user