Correction Formulaire inscription

This commit is contained in:
2023-07-19 01:38:55 +02:00
parent 450fe88faa
commit abaa9c66ce
2 changed files with 21 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ def signin(token) :
signin_enable=app.config['SIGNIN_ENABLE'],
token=token, hostname=hostname,
url_inscription=url_inscription,
MAIL_SERVER=MAIL_SERVER)
MAIL_SERVER=MAIL_SERVER, XMPP_SERVER=XMPP_SERVER)
if request.method == 'POST':
@@ -57,7 +57,7 @@ def signin(token) :
signin_enable=app.config['SIGNIN_ENABLE'],
token=token, hostname=hostname,
url_inscription=url_inscription,
MAIL_SERVER=MAIL_SERVER)
MAIL_SERVER=MAIL_SERVER, XMPP_SEVER=XMPP_SERVER)
else:
if len(request.form['user']) == 0 or \
len(request.form['passwd']) == 0 or \
@@ -68,7 +68,7 @@ def signin(token) :
signin_enable=app.config['SIGNIN_ENABLE'],
token=token, hostname=hostname,
url_inscription=url_inscription,
MAIL_SERVER=MAIL_SERVER)
MAIL_SERVER=MAIL_SERVER, XMPP_SERVER=XMPP_SERVER)
user = request.form['user']
passwd = request.form['passwd']