Commit 87f81ed8 authored by fred.lpo07's avatar fred.lpo07

some fixes

parent 3970f09f
......@@ -25,7 +25,7 @@ def get_contract_type():
class PersonForm(FlaskForm):
email_declarator = EmailField("Votre email (pour envoie d'une confirmation)", validators=[DataRequired(), Email()],
email_declarator = EmailField("Votre email (pour envoi d'une confirmation)", validators=[DataRequired(), Email()],
render_kw=common_input)
name = StringField('Nom', validators=[DataRequired()], render_kw=common_input)
surname = StringField('Prénom', validators=[DataRequired()], render_kw=common_input)
......
......@@ -10,6 +10,7 @@ export SMTP_STARTTLS=${SMTP_STARTTLS:-True}
if [ ! -f /data/config.py ]; then
echo "generate new config file"
cp /app/config.py.sample /data/config.py
sed -i "s/myAppName/${APP_NAME}/g" /data/config.py
sed -i "s/secretKey/${SECRET_KEY}/g" /data/config.py
sed -i "s/smtpHost/${SMTP_HOST}/g" /data/config.py
sed -i "s/smtpPort/${SMTP_PORT}/g" /data/config.py
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment