Software Development Kit

cPanel & WHM's API [+] cPanel & WHM's API [-]


Modules and Plugins [+] Modules and Plugins [-]


cPanel & WHM Hooks [+] cPanel & WHM Hooks [-]


cPAddons (Site Software) [+] cPAddons (Site Software) [-]


System Administration [+] System Administration [-]


Developer Software [+] Developer Software [-]


Back to All Documentation



integrationblogcta.jpg

Password Functions — Passwd

Passwd::ChangePasswd

Stage: pre — This hookable event is run before a user's password is changed.

Blocking Attribute: Yes
Escalate Privilege Attribute: Yes
Action Code Runs As: The cPanel user whose password will be modified.
Data:
{
    'user' => "The user whose password is changing.",
    'new_password' => "The new password for the account.",
}


Stage: post — This hookable event is run after a user's password is changed.

Blocking Attribute: Yes
Escalate Privilege Attribute: Yes
Action Code Runs As: The cPanel user whose password was modifed.
Data:
{
    'user' => "The user whose password was changed.",
    'new_password' => "The new password for the account.",
    'rawout' => "The raw output message from the `passwd` program.", 
    'applist' => "A list of other services that have had their passwords changed.",
}

Topic revision: r3 - 12 Mar 2012 - 20:46:13 - Main.JustinSchaefer
SoftwareDevelopmentKit.StdPasswordFunctions moved from Sandbox.StdPasswordFunctions on 12 Mar 2012 - 20:46 by Main.JustinSchaefer - put it back