diff --git a/templates/inscription.html b/templates/inscription.html
index 5f577ba..5f2866f 100644
--- a/templates/inscription.html
+++ b/templates/inscription.html
@@ -27,20 +27,25 @@
{% if signin_enable %}
-
Par exemple vous voulez toto@{{hostname}}; vous entrez juste toto :)
+Désolé les inscriptions ne sont pas activés sur le serveur diff --git a/views/inscription.py b/views/inscription.py index 16da26d..fb28204 100644 --- a/views/inscription.py +++ b/views/inscription.py @@ -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']