8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 06:32:26 +00:00

Mettre les bons noms de variables c'est mieux

This commit is contained in:
Yoann Pétri 2018-07-16 19:24:15 +02:00 committed by root
parent dd672b5cdb
commit badc111491

View file

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