1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coin_ynh.git synced 2024-09-03 18:16:26 +02:00

Add support for sending email

This commit is contained in:
Josué Tille 2024-04-30 21:18:40 +02:00
parent ad2a8c0440
commit 30500411c7
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
2 changed files with 8 additions and 2 deletions

View file

@ -29,13 +29,18 @@ DATABASES = {
'USER': '{{ db_user }}',
'PASSWORD': '{{ db_pwd }}',
'HOST': '127.0.0.1',
'PORT': '5432',
'PORT': '5432',
},
}
FEEDS = (('ffdn', 'http://www.ffdn.org/fr/rss.xml', 3),)
# Email settings
EMAIL_USE_TLS = True
EMAIL_PORT = 587
EMAIL_HOST = '{{ domain }}'
EMAIL_HOST_USER = '{{ app }}@{{ domain }}'
EMAIL_HOST_PASSWORD = '{{ mail_pwd }}'
# # Tous acces
# # parametrer SSO en protect_uris

View file

@ -60,6 +60,7 @@ ram.runtime = "50M"
autoupdate.strategy = "latest_gitlab_commit"
[resources.system_user]
allow_email = true
[resources.install_dir]