From badc11149153fa1fc74d298251e75e31be95f6b9 Mon Sep 17 00:00:00 2001 From: Yoann Pietri Date: Mon, 16 Jul 2018 19:24:15 +0200 Subject: [PATCH] Mettre les bons noms de variables c'est mieux --- users/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/views.py b/users/views.py index 494b7ab4..aa5d0410 100644 --- a/users/views.py +++ b/users/views.py @@ -959,12 +959,12 @@ def process(request, token): if req.type == Request.PASSWD: user = req.user - user.mail_verification = True + user.verified = True user.save() return process_passwd(request, req) elif req.type == Request.EMAIL: user = req.user - user.mail_verification = True + user.verified= True user.save() return redirect(reverse('login')) else: