Suppression fichiers et variables inutiles

This commit is contained in:
2022-08-22 05:43:55 +02:00
parent 4bb19ff8a9
commit c03142fe71
4 changed files with 3 additions and 5 deletions

View File

@@ -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 :