Synchronisation

This commit is contained in:
Soriba SYLLA
2026-10-13 11:19:54 +00:00
parent 01d94332fd
commit 8c5ab2a556
736 changed files with 56693 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ def modifier_mot_passe(request):
user = User.objects.get(username=username)
if not user.check_password(ancien_mdp):
return JsonResponse({"error": "Le mot de passe actuel est incorrect."}, status=400)
return JsonResponse({"error": "Le mot de passe actuel est incorrect."}, status=400)
if nouveau_mdp != confirmation_mdp:
return JsonResponse({"error": "Le nouveau mot de passe et sa confirmation ne correspondent pas."}, status=400)