From 31592dc7f1900c7073caa080165eedb0415cb457 Mon Sep 17 00:00:00 2001 From: "ahmed.mujtaba" Date: Tue, 4 Aug 2026 18:22:58 +0500 Subject: [PATCH] # this is for password hashing and dehashing comment --- backend/users/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/users/views.py b/backend/users/views.py index 101febd..577a7c5 100644 --- a/backend/users/views.py +++ b/backend/users/views.py @@ -56,6 +56,7 @@ class User: user=await Users.get_user_by_id(self.session,record_id) if not user: raise HTTPException(status_code=404,detail="User not found") + # this is for password hashing and dehashing fields=clean_user_payload(payload,partial=True) email=fields.get("email") if email and email!=user.email: