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()],
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/ ]; then
echo "generate new config file"
cp /app/ /data/
sed -i "s/myAppName/${APP_NAME}/g" /data/
sed -i "s/secretKey/${SECRET_KEY}/g" /data/
sed -i "s/smtpHost/${SMTP_HOST}/g" /data/
sed -i "s/smtpPort/${SMTP_PORT}/g" /data/
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