Validate Encrypt Password function

Validate Encrypt Password function

  

Hi mates,
I'm now developing the user change password action, i'm having difficulties validating the old password he entered with his current password in database because of the Salt hashing, I have found the change password flow on the Users clone espace of the outsystems users manager, They are a function called Validate Encrypt Password

 

I'm having exception unknown function, but I don't know how to add/use this function in my module. 

Hi Mohamed,

This is probably an internal function of the Users module.

But you have the following:

The Validate password receives the plain text pass and the hashed pass (usually from the database) and returns if they match.

Cheers,

Eduardo Jauch

Hi Eduardo,
   as you said yes I have used Platform Password Utils but, I found the Validate Encrypt Password  in the Authentication section  Thanks Eduardo

Hi Mohamed, 

Why the ValidatePassword is not an option for you? :)
What is the problem you are facing that it does not work?

Cheers,

Eduardo Jauch

Solution

Holla Eduardo,

I have used the change password WebBlock, which uses the ValidateEncryptPassword function so i had to include it in my module. I included both of the (ValidateEncryptPassword and ValidatePassword) functions.

Regards,

Mohamed AlMokadem

Solution