29
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?

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


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

Can u check this in Updateemployee Server action.

EmployeeManagement_CS.oml

Is it working as expected or not ?

Seems like you have reassigned the old password. 

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

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


Champion

Hi Priyabrat

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

Best

Arun

should look something like this :

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