functions.php - Change Password plugin
load site config
load default config
Blocks use of interface when passwords are expired.
Prints notices about aging passwords
Runs password aging checks and redirects users with expired passwords to
change_password plugin page
Will verify the input against a set of criteria: is every field supplied, does verify password match, does current password validate, ..
These criteria are (for now) backend-independent.
Checks age of password hash
Function adds 'cpw_pass_age' session variable, if password age exceeds $cpw_policy_noticedays limit.
Creates 8bytes random string for salting
Function is similar to OneTimePadCreate, but output is not base64_encoded.
Does the actual password changing (meaning it calls the hook function from the backend that does this. If something goes wrong, return error message(s). If everything ok, change the password in the session so the user doesn't have to log out, and redirect back to the options screen.
Runs password policy checks
Translates PHP Crack extension messages
Updates password information stored in preferences
Documentation generated on Sun, 22 Nov 2009 17:36:33 +0200 by phpDocumentor 1.4.3