Skip to content

Commit d55b420

Browse files
committed
disable password reset
1 parent 7e31799 commit d55b420

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

modules/nixos/gateway.nix

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,14 @@ in
123123
log.keep_stdout = true;
124124
default_2fa_method = "webauthn";
125125

126-
authentication_backend.ldap = {
127-
implementation = "lldap";
128-
address = "ldap://127.0.0.1:${toString lldapPort}";
129-
base_dn = baseDN;
130-
user = "uid=authelia,ou=people,${baseDN}";
126+
authentication_backend = {
127+
password_reset.disable = true;
128+
ldap = {
129+
implementation = "lldap";
130+
address = "ldap://127.0.0.1:${toString lldapPort}";
131+
base_dn = baseDN;
132+
user = "uid=authelia,ou=people,${baseDN}";
133+
};
131134
};
132135

133136
access_control = {

0 commit comments

Comments
 (0)