90
Views
2
Comments
Solved
How to validate old password while implementing reset password?
Question
Application Type
Reactive

Hi 

I am implementing reset password in my application.

In there by using getuser entity action I fetched the User's Password but I don't know how to validate that with the password in my local variable. That local variable is mapped to Input widget on screen.


Can anyone please tell me how to do that


Maria

2024-05-02 09-49-04
Murali Manoharan V
Champion
Solution

Hi Maria

In dependencies under platformpasswordutensils add "ValidatePassword". 


It has two input parameters one is Plain Text Password - that's old password you already stored in the variable. And second one is SaltedHashedPassword inside there give your encrypted password fetched from GetUser entity action.


If it matches it returns ISValid output parameters as True, otherwise it returns false. Based on that you can validate password in reset password scenario.


I hope it will work for you.


Regards 

Murali

UserImage.jpg
Maria Henry

Thank You Murali for your solution

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