diff --git a/config.py.example b/config.py.example index b85a7a8..48c5ad7 100644 --- a/config.py.example +++ b/config.py.example @@ -19,15 +19,13 @@ EXT_IMG= {'.jpg', '.JPG', '.png', '.PNG', '.gif', '.GIF', '.bmp', '.BMP', '.jpeg # Service # XMPP = True => Le service est installé et lancer # XMMP = False => Le service est désactivé -XMPP_SERVER = True +XMPP_SERVER = False # Service Mail # MAIL_SERVER = True => Le service est installé et lancer # MAIL_SERVER = False => Le service est désactivé -MAIL_SERVER = True +MAIL_SERVER = FAlSE -# Possibilté de s'inscrire sur le serveur -SIGNIN_ENABLE = True # Doas or sudo SETUID='doas' diff --git a/templates/login.html b/templates/login.html deleted file mode 100644 index e69de29..0000000 diff --git a/templates/welcome.html b/templates/welcome.html deleted file mode 100644 index e69de29..0000000 diff --git a/views/inscription.py b/views/inscription.py index 57a3ac5..28133bb 100644 --- a/views/inscription.py +++ b/views/inscription.py @@ -31,7 +31,7 @@ def signin(token) : hostname = gethostname() url_inscription = BASE_URL+'inscription/'+token resp = None - if app.config['SIGNIN_ENABLE'] and valid_token_register(token): + if valid_token_register(token): if 'username' in session : resp = redirect(url_for('profil.profile', _external=True)) else :