ldap: make sure admin user can log in too
This commit is contained in:
parent
a584decd52
commit
becc0db9ff
1 changed files with 4 additions and 4 deletions
|
|
@ -509,10 +509,10 @@ in
|
||||||
};
|
};
|
||||||
bob = {
|
bob = {
|
||||||
email = "bob@example.com";
|
email = "bob@example.com";
|
||||||
groups = [
|
# Purposely not adding bob to the user_group
|
||||||
"user_group"
|
# so we can make sure users only part admins
|
||||||
"admin_group"
|
# can also login normally.
|
||||||
];
|
groups = [ "admin_group" ];
|
||||||
password.result.path = pkgs.writeText "bobPassword" "BobPassword";
|
password.result.path = pkgs.writeText "bobPassword" "BobPassword";
|
||||||
};
|
};
|
||||||
charlie = {
|
charlie = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue