auth::local::password::send_registration_verification (private)
auth::local::password::send_registration_verification user_id
Defined in packages/acs-authentication/tcl/local-procs.tcl
Send the verification link for a generated-password registration.
- Parameters:
- user_id (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: db_transaction { if {![auth::token::lock_account $user_id]} { error "Account unavailable for registration verification" } lassign [auth::local::password::recovery_state $user_id] email context if {$email eq ""} { error "No local account email for registration verification" } set token [auth::token::issue -purpose registration_verify_setup -user_id $user_id -ttl 86400 -context $context] } set confirmation_url [export_vars -base "[ad_url]/register/verify-password-setup" {token}] auth::email::send -template verify -user_id $user_id -to $email -default_from [ad_outgoing_sender] -values [list system_name [ad_system_name] confirmation_url $confirmation_url]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-authentication/tcl/local-procs.xql