mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
refactor: gestion des erreurs
This commit is contained in:
@ -479,6 +479,7 @@ class ResetPasswordView(APIView):
|
||||
profil.set_password(newProfilConnection.get('password1'))
|
||||
profil.code = ''
|
||||
profil.datePeremption = ''
|
||||
profil.is_active = True
|
||||
profil.save()
|
||||
clear_cache()
|
||||
retourErreur=''
|
||||
|
||||
Reference in New Issue
Block a user