update
This commit is contained in:
parent
77724afccd
commit
b71d9e2ded
@ -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: '',
|
||||
|
@ -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
|
||||
|
@ -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é !')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user