fix: s/EMAIL_SENDER_ADDRESS/DEFAULT_FROM_EMAIL/
parent
5f77bbe75a
commit
887c65d324
|
@ -47,7 +47,7 @@ def send_verification_email(request, challenge):
|
||||||
|
|
||||||
email = challenge.owned_by.email
|
email = challenge.owned_by.email
|
||||||
|
|
||||||
sender = settings.HOSTEA["EMAIL_SENDER_ADDRESS"]
|
sender = settings.HOSTEA["DEFAULT_FROM_EMAIL"]
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Please confirm your email address",
|
subject="[Hostea] Please confirm your email address",
|
||||||
|
|
|
@ -56,7 +56,7 @@ PAYMENT_VARIANTS = {
|
||||||
HOSTEA = {
|
HOSTEA = {
|
||||||
"SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard",
|
"SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard",
|
||||||
"INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org",
|
"INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org",
|
||||||
"EMAIL_SENDER_ADDRESS": "no-reply@hostea.org",
|
"DEFAULT_FROM_EMAIL": "no-reply@hostea.org",
|
||||||
"ACCOUNTS": {
|
"ACCOUNTS": {
|
||||||
"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds
|
"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds
|
||||||
"SUDO_TTL": 60 * 5,
|
"SUDO_TTL": 60 * 5,
|
||||||
|
|
|
@ -55,7 +55,7 @@ PAYMENT_VARIANTS = {
|
||||||
HOSTEA = {
|
HOSTEA = {
|
||||||
"SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard",
|
"SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard",
|
||||||
"INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org",
|
"INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org",
|
||||||
"EMAIL_SENDER_ADDRESS": "no-reply@hostea.org",
|
"DEFAULT_FROM_EMAIL": "no-reply@hostea.org",
|
||||||
"ACCOUNTS": {
|
"ACCOUNTS": {
|
||||||
"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds
|
"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds
|
||||||
"SUDO_TTL": 60 * 5,
|
"SUDO_TTL": 60 * 5,
|
||||||
|
|
|
@ -170,7 +170,7 @@ PAYMENT_VARIANTS = {
|
||||||
HOSTEA = {
|
HOSTEA = {
|
||||||
"SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard",
|
"SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard",
|
||||||
"RESTRICT_NEW_INTEGRATION_INSTALLATION": True,
|
"RESTRICT_NEW_INTEGRATION_INSTALLATION": True,
|
||||||
"EMAIL_SENDER_ADDRESS": "no-reply@hostea.org",
|
"DEFAULT_FROM_EMAIL": "no-reply@hostea.org",
|
||||||
"INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org",
|
"INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org",
|
||||||
"ACCOUNTS": {
|
"ACCOUNTS": {
|
||||||
"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds
|
"MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds
|
||||||
|
|
|
@ -64,7 +64,7 @@ class Worker(Thread):
|
||||||
context=ctx,
|
context=ctx,
|
||||||
)
|
)
|
||||||
|
|
||||||
sender = settings.HOSTEA["EMAIL_SENDER_ADDRESS"]
|
sender = settings.HOSTEA["DEFAULT_FROM_EMAIL"]
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Your Hostea instance is now online!",
|
subject="[Hostea] Your Hostea instance is now online!",
|
||||||
|
|
|
@ -66,7 +66,7 @@ def create_instance(request, instance_name: str):
|
||||||
context=ctx,
|
context=ctx,
|
||||||
)
|
)
|
||||||
|
|
||||||
sender = settings.HOSTEA["EMAIL_SENDER_ADDRESS"]
|
sender = settings.HOSTEA["DEFAULT_FROM_EMAIL"]
|
||||||
|
|
||||||
send_mail(
|
send_mail(
|
||||||
subject="[Hostea] Your Hostea instance is now online!",
|
subject="[Hostea] Your Hostea instance is now online!",
|
||||||
|
|
Loading…
Reference in New Issue