OldPassword validation

0
i need to make a change password form where the user has to input their current password to continue create the new password,,, in the microflow i want to make a decision if AccountPasswordData/OldPassword is the same with Account/Password the flow will continue but when i tried to use the attribute password it cant be call in decision expression… is it because its hashed strings ?? is there a way for me to call current user password to be validate ???
asked
1 answers
4

Hi ryan,

There is a Java action, which we can use to verify the ild password for the user,

the name of the java action is:

‘ System.VerifyPassword ’ 

You can just pass the accout Username and the old password, and it will return a boolean, indicating the password is whether correct ot not.

Let me know, if you have any issues,

Hope it helps!!

answered