mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
add FIRST_ALIAS_DOMAIN param
This commit is contained in:
parent
a434413304
commit
8ebc26f4e7
2 changed files with 6 additions and 0 deletions
|
@ -79,6 +79,9 @@ else:
|
|||
# List of domains user can use to create alias
|
||||
ALIAS_DOMAINS = OTHER_ALIAS_DOMAINS + [EMAIL_DOMAIN]
|
||||
|
||||
# the alias domain used when creating the first alias for user
|
||||
FIRST_ALIAS_DOMAIN = os.environ.get("FIRST_ALIAS_DOMAIN") or EMAIL_DOMAIN
|
||||
|
||||
# list of (priority, email server)
|
||||
EMAIL_SERVERS_WITH_PRIORITY = eval(
|
||||
os.environ["EMAIL_SERVERS_WITH_PRIORITY"]
|
||||
|
|
|
@ -21,6 +21,9 @@ EMAIL_DOMAIN=sl.local
|
|||
# other domains that can be used to create aliases, in addition to EMAIL_DOMAIN
|
||||
OTHER_ALIAS_DOMAINS=["domain1.com", "domain2.com"]
|
||||
|
||||
# the alias domain used when creating the first alias for user, default to EMAIL_DOMAIN if not set
|
||||
# FIRST_ALIAS_DOMAIN = another-domain.com
|
||||
|
||||
# transactional email is sent from this email address
|
||||
SUPPORT_EMAIL=support@sl.local
|
||||
SUPPORT_NAME=Son from SimpleLogin
|
||||
|
|
Loading…
Reference in a new issue