mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 19:33:11 +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:
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue