This commit is contained in:
Adrian Amaglio 2021-05-15 10:03:09 +02:00
parent 77724afccd
commit b71d9e2ded
3 changed files with 7 additions and 8 deletions

View File

@ -4,9 +4,9 @@ var app = new Vue({
type: 'admin_pass', /* admin_pass or token */
password: 'test',
loggedin: false,
//mailerHost: 'https://mailer.jean-cloud.net',
mailerHost: 'https://mailer.jean-cloud.net',
//mailerHost: 'http://localhost:8080',
mailerHost: '/api',
//mailerHost: '/api',
forms: [],
users: [],
newUser: '',

View File

@ -59,9 +59,9 @@ The app needs a lot of env vars to run :
SMTP_SERVER_ADDRESS=mail.gandi.net
SMTP_SERVER_PORT=465
SMTP_SSL=true
SMTP_SERVER_USERNAME=nepasrepondre@jean-cloud.org
SMTP_SERVER_PASSWORD=B9UZtOnIlJcRzx8mh2jCsPTQujwTr9I6XyiA
SMTP_SERVER_SENDER=nepasrepondre@jean-cloud.org
SMTP_SERVER_USERNAME=noreply@example.net
SMTP_SERVER_PASSWORD=bigpass
SMTP_SERVER_SENDER=noreply@example.net
MONGODB_HOST=mongodb
ADMIN_PASSWORD=test
UID=1000
@ -86,6 +86,8 @@ plain or light theme.
- add redirection urls to form config
- Include some [capcha](https://alternativeto.net/software/recaptcha/) support
- Correctly escape html entities
- Sign mails with the server key
- Use a dedicated SMTP server
### Ameliorations
- Use real user/passwords accounts

View File

@ -147,9 +147,6 @@ def submission ():
except Exception as e:
raise
# Redirection
#bottle.redirect(success_redirect_default)
origin = request.headers.get('origin')
return resp(200, 'Mail envoyé !')