email-change-procs.tcl

Request and confirm changes to account email addresses.

Location:
packages/acs-subsite/tcl/email-change-procs.tcl

Procedures in this file

Detailed information

subsite::confirm_email_change (private)

 subsite::confirm_email_change user_id token

Apply a pending email change for this account. Return 1 on success and 0 if the request is invalid or no longer applicable.

Parameters:
user_id (required)
token (required)

Partial Call Graph (max 5 caller/called nodes):
acs_user::get acs_user::get (public) auth::sync::get_sync_elements auth::sync::get_sync_elements (private) auth::update_local_account auth::update_local_account (public) db_0or1row db_0or1row (public) db_dml db_dml (public) subsite::confirm_email_change subsite::confirm_email_change subsite::confirm_email_change->acs_user::get subsite::confirm_email_change->auth::sync::get_sync_elements subsite::confirm_email_change->auth::update_local_account subsite::confirm_email_change->db_0or1row subsite::confirm_email_change->db_dml

Testcases:
No testcase defined.

subsite::request_email_change (private)

 subsite::request_email_change user_id old_email new_email

Store a pending email change and send confirmation to the proposed address.

Parameters:
user_id (required)
old_email (required)
new_email (required)

Partial Call Graph (max 5 caller/called nodes):
_ _ (public) acs_mail_lite::send acs_mail_lite::send (public) ad_system_owner ad_system_owner (public) ad_url ad_url (public) db_dml db_dml (public) subsite::request_email_change subsite::request_email_change subsite::request_email_change->_ subsite::request_email_change->acs_mail_lite::send subsite::request_email_change->ad_system_owner subsite::request_email_change->ad_url subsite::request_email_change->db_dml

Testcases:
No testcase defined.
[ show source ]