Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > PAM Controller > Functions
change_password/3
Description
change_password/3 is an Erlang function exported by "pam" module.
Authenticates a user by name and password, and commence a password change with a new sequence.
References
•gen_password/1
Parameters
Name
Type
UserName
string()
User name or ID
Password
User password required to commence an authentication
NewPassword
A new password sequence.
Result
Value or Type
{success, "Success"}