adds new config variable in case there is no default admin group in ACL/ADMIN/FILTER

This commit is contained in:
sebastien 2024-11-12 16:50:00 +01:00
parent 62ceadb64f
commit ea24f96e85
2 changed files with 9 additions and 0 deletions

View file

@ -312,3 +312,11 @@ class CoreSettings(BaseModel):
characters. If the value entered is 0 or None, or greater than 4096,
then 4096 will be retained.
"""
ADMIN_EMAIL: str = None
"""Administration email contact.
In certain special cases (example : questioning about password
corruption), it is necessary to provide an administration contact
email.
"""

View file

@ -151,6 +151,7 @@ def configuration(smtpd):
},
"disable_existing_loggers": False,
},
"ADMIN_EMAIL": "admin_default_mail@mymail.com",
},
}
return conf