mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-26 14:42:25 +00:00
Mettre les bons noms de variables c'est mieux
This commit is contained in:
parent
dd672b5cdb
commit
badc111491
1 changed files with 2 additions and 2 deletions
|
@ -959,12 +959,12 @@ def process(request, token):
|
||||||
|
|
||||||
if req.type == Request.PASSWD:
|
if req.type == Request.PASSWD:
|
||||||
user = req.user
|
user = req.user
|
||||||
user.mail_verification = True
|
user.verified = True
|
||||||
user.save()
|
user.save()
|
||||||
return process_passwd(request, req)
|
return process_passwd(request, req)
|
||||||
elif req.type == Request.EMAIL:
|
elif req.type == Request.EMAIL:
|
||||||
user = req.user
|
user = req.user
|
||||||
user.mail_verification = True
|
user.verified= True
|
||||||
user.save()
|
user.save()
|
||||||
return redirect(reverse('login'))
|
return redirect(reverse('login'))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue