forked from Github-Mirrors/canaille
adds new config variable in case there is no default admin group in ACL/ADMIN/FILTER
This commit is contained in:
parent
62ceadb64f
commit
ea24f96e85
2 changed files with 9 additions and 0 deletions
|
@ -312,3 +312,11 @@ class CoreSettings(BaseModel):
|
||||||
characters. If the value entered is 0 or None, or greater than 4096,
|
characters. If the value entered is 0 or None, or greater than 4096,
|
||||||
then 4096 will be retained.
|
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.
|
||||||
|
"""
|
||||||
|
|
|
@ -151,6 +151,7 @@ def configuration(smtpd):
|
||||||
},
|
},
|
||||||
"disable_existing_loggers": False,
|
"disable_existing_loggers": False,
|
||||||
},
|
},
|
||||||
|
"ADMIN_EMAIL": "admin_default_mail@mymail.com",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return conf
|
return conf
|
||||||
|
|
Loading…
Reference in a new issue