disable password reset

This commit is contained in:
Hendrik Sokolowski 2023-10-29 00:31:33 +02:00
parent bb733c818a
commit f81ae035dd

View file

@ -7,6 +7,7 @@
containerStateDir = "/var/lib/authelia-gssws"; containerStateDir = "/var/lib/authelia-gssws";
hostStateDir = "/opt/authelia"; hostStateDir = "/opt/authelia";
domain = "auth.gssws.de"; domain = "auth.gssws.de";
redirectDomain = "home.gssws.de";
servicePort = 9091; servicePort = 9091;
in { in {
age.secrets.authelia_users = { age.secrets.authelia_users = {
@ -71,16 +72,16 @@ in {
}; };
settings = { settings = {
theme = "auto"; theme = "dark";
server.port = servicePort; server.port = servicePort;
session.domain = domain; session.domain = domain;
default_redirection_url = "https://home.gssws.de/"; default_redirection_url = "https://${redirectDomain}/";
access_control.default_policy = "two_factor"; access_control.default_policy = "two_factor";
authentication_backend = { authentication_backend = {
password_reset.disable = false; password_reset.disable = true;
file = { file = {
path = "/run/agenix/authelia_users"; path = "/run/agenix/authelia_users";
}; };
@ -99,7 +100,8 @@ in {
}; };
notifier.smtp = { notifier.smtp = {
address = "smtp://mail.gssws.de:25"; host = "mail.gssws.de";
port = 25;
sender = "Authelia <authelia@gssws.de>"; sender = "Authelia <authelia@gssws.de>";
identifier = "auth.gssws.de"; identifier = "auth.gssws.de";
}; };