auth::local::password::notify_changed (private)
auth::local::password::notify_changed user_id
Defined in packages/acs-authentication/tcl/local-procs.tcl
Send the configured password-change notification.
- Parameters:
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { [parameter::get -parameter EmailAccountOwnerOnPasswordChangeP -package_id [ad_acs_kernel_id] -default 1] } { ad_try { set user_email [party::get -party_id $user_id -element email] set system_name [ad_system_name] set pvt_home_name [ad_pvt_home_name] set password_update_link_text [_ acs-subsite.Change_my_Password] if { [auth::UseEmailForLoginP] } { set account_id_label [_ acs-subsite.Email] set account_id $user_email } else { set account_id_label [_ acs-subsite.Username] set account_id [acs_user::get_user_info -user_id $user_id -element username] } set subject [_ acs-subsite.Password_changed_subject] set body [_ acs-subsite.Password_changed_body] acs_mail_lite::send -send_immediately -to_addr $user_email -from_addr [ad_outgoing_sender] -subject $subject -body $body } on error {errorMsg} { ad_log Error "Error sending out password changed notification to account owner with user_id $user_id, email $user_email: $errorMsg" } }XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-authentication/tcl/local-procs.xql