mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-04-19 23:46:53 +00:00
Update email configuration in Django settings to include default values for environment variables
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m50s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m50s
This commit is contained in:
parent
b93d51c494
commit
4f7aa3b682
@ -324,10 +324,10 @@ logging.config.dictConfig(
|
|||||||
EMAIL_BACKEND = (
|
EMAIL_BACKEND = (
|
||||||
"django.core.mail.backends.smtp.EmailBackend" # Replace with your preferred backend
|
"django.core.mail.backends.smtp.EmailBackend" # Replace with your preferred backend
|
||||||
)
|
)
|
||||||
EMAIL_HOST = env("EMAIL_HOSTNAME")
|
EMAIL_HOST = env("EMAIL_HOSTNAME", default="")
|
||||||
EMAIL_PORT = env("EMAIL_PORT", cast=int)
|
EMAIL_PORT = env("EMAIL_PORT", cast=int, default=25)
|
||||||
EMAIL_HOST_USER = env("EMAIL_USERNAME")
|
EMAIL_HOST_USER = env("EMAIL_USERNAME", default="")
|
||||||
EMAIL_HOST_PASSWORD = env("EMAIL_PASSWORD")
|
EMAIL_HOST_PASSWORD = env("EMAIL_PASSWORD", default="")
|
||||||
# DEFAULT_FROM_EMAIL = "noreply@sarlink.net"
|
# DEFAULT_FROM_EMAIL = "noreply@sarlink.net"
|
||||||
EMAIL_USE_TLS = True
|
EMAIL_USE_TLS = True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user