Suppression fichiers et variables inutiles
This commit is contained in:
parent
4bb19ff8a9
commit
c03142fe71
@ -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'
|
||||
|
@ -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 :
|
||||
|
Loading…
Reference in New Issue
Block a user