67
Views
8
Comments
Solved
How to update the user without updating the password?

Hi,

I want to update my user details such as email ,name , phonenumber. When i am updating it using Createorupdate action the password is also updated automatically. Can anyone suggest me what to do without changing the password?

2025-09-21 06-51-05
Mohd Anees Mansoori
Solution

To overcome that at the time of updating, bypass your encryption logic, only encrypt when creating new password.

As shown in the above image.

Regards,

Anees


2025-09-21 06-51-05
Mohd Anees Mansoori

Hello,

You just have to reassign the old password which is already there in you database while updating the other details.

For further clarification do share your oml.

Regards 

Anees

UserImage.jpg
Priyabrat Swain

Can u check this in Updateemployee Server action.

EmployeeManagement_CS.oml
2025-09-21 06-51-05
Mohd Anees Mansoori

Is it working as expected or not ?

Seems like you have reassigned the old password. 

UserImage.jpg
Priyabrat Swain

Ya...But the password is in encrypted format...so after updating i am unable to login using my current password.

2025-09-21 06-51-05
Mohd Anees Mansoori
Solution

To overcome that at the time of updating, bypass your encryption logic, only encrypt when creating new password.

As shown in the above image.

Regards,

Anees


UserImage.jpg
Priyabrat Swain
2025-02-10 17-24-13
Arun Rajput

Hi Priyabrat

You just need to reassign old password before running the CreateOrUpdate action

Best

Arun

2025-12-15 09-29-24
Thibaut G

should look something like this :

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.