/plugins/change_password/functions.phpfunctions.php - Change Password plugin
include_once
(SM_PATH.'config/change_password_config.php')
(line 44)
load site config
include_once
(SM_PATH.'plugins/change_password/config.php')
(line 46)
include_once
(SM_PATH.'plugins/change_password/config_default.php')
(line 19)
load default config
change_password_generic_header_do (line 404)
Blocks use of interface when passwords are expired.
change_password_right_main_after_header_do (line 377)
Prints notices about aging passwords
change_password_webmail_top_do (line 352)
Runs password aging checks and redirects users with expired passwords to
change_password plugin page
cpw_check_input (line 57)
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.
cpw_check_pass_time (line 327)
Checks age of password hash
Function adds 'cpw_pass_age' session variable, if password age exceeds $cpw_policy_noticedays limit.
cpw_create_salt (line 292)
Creates 8bytes random string for salting
Function is similar to OneTimePadCreate, but output is not base64_encoded.
cpw_do_change (line 127)
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.
cpw_policy_verify (line 250)
Runs password policy checks
cpw_translate_crack_msg (line 171)
Translates PHP Crack extension messages
cpw_update_pass (line 307)
Updates password information stored in preferences
Documentation generated on Sun, 22 Nov 2009 17:36:33 +0200 by phpDocumentor 1.4.3