6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 06:07:56 +00:00

Configurable SMTP server authentication

We can now define non-empty username/password for sending email.
This commit is contained in:
Régis Behmo 2019-03-20 18:52:57 +01:00
parent 7e2bfaf217
commit 0a02d65760
5 changed files with 11 additions and 2 deletions

View File

@ -2,6 +2,7 @@
## Latest
- [Improvement] Add configurable SMTP authentication
- [Improvement] Harmonize mysql username/password configuration parameters
- [Feature] Configurable and pluggable data storage backends (#114)

View File

@ -98,6 +98,8 @@ SMTP
- ``SMTP_HOST`` (default: ``"smtp"``)
- ``SMTP_PORT`` (default: ``25``)
- ``SMTP_USERNAME`` (default: ``""``)
- ``SMTP_PASSWORD`` (default: ``""``)
Optional features
-----------------

View File

@ -30,5 +30,7 @@
"PASSWORD": "{{ OPENEDX_MYSQL_PASSWORD }}",
"ATOMIC_REQUESTS": true
}
}
},
"EMAIL_HOST_USER": "{{ SMTP_USERNAME }}",
"EMAIL_HOST_PASSWORD": "{{ SMTP_PASSWORD }}"
}

View File

@ -30,5 +30,7 @@
"PASSWORD": "{{ OPENEDX_MYSQL_PASSWORD }}",
"ATOMIC_REQUESTS": true
}
}
},
"EMAIL_HOST_USER": "{{ SMTP_USERNAME }}",
"EMAIL_HOST_PASSWORD": "{{ SMTP_PASSWORD }}"
}

View File

@ -38,6 +38,8 @@ NOTES_MYSQL_USERNAME: "notes"
RABBITMQ_HOST: "rabbitmq"
SMTP_HOST: "smtp"
SMTP_PORT: 25
SMTP_USERNAME: ""
SMTP_PASSWORD: ""
XQUEUE_AUTH_USERNAME: "lms"
XQUEUE_MYSQL_DATABASE: "xqueue"
XQUEUE_MYSQL_USERNAME: "xqueue"