Password Functions
For cPanel & WHM 11.32
Note: The Standardized Hooks documentation is currently under revision. You should check back shortly for improvements to this information.
This page contains insertion points for the Standardized Hooks system's password functions.
Passwd::ChangePasswd (pre)
| Namespace |
Passwd |
| Function |
ChangePasswd |
| Stage |
pre |
| Run as... |
The user whose password is changing. |
| Blocking |
Yes |
| Escalates Privileges |
Yes |
| Description |
Run before a user's password is changed. You can implement custom password strength policies using this function. |
Parameters
{
'user' => "The user whose password is changing."
'new_password' => "The new password for the account."
};
Passwd::ChangePasswd (post)
| Namespace |
Passwd |
| Function |
ChangePasswd |
| Stage |
post |
| Run as... |
The user whose password is changing. |
| Blocking |
No |
| Escalates Privileges |
Yes |
| Description |
Run after a user's password is changed. You can implement custom password strength policies using this function. |
Parameters
{
'user' => "The user whose password was changed."
'new_password' => "The new password for the account."
'rawout' => "The raw output message from the passwd script."
'applist' => "A list of services that have had their passwords changed."
};
Topic revision: r7 - 20 Jan 2012 - 16:50:34 - Main.JustinSchaefer
SoftwareDevelopmentKit.StndHooksPasswdFunctions moved from Sandbox.StndHooksPasswdFunctions on 01 Nov 2011 - 21:27 by Main.JustinSchaefer -
put it back