auth::local::password::apply_registration_verification (private)
auth::local::password::apply_registration_verification user_id \
expectedDefined in packages/acs-authentication/tcl/local-procs.tcl
Verify the address and issue the setup token inside the redemption transaction.
- Parameters:
- user_id (required)
- expected (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: lassign [auth::local::password::recovery_state $user_id] email current if {$email eq "" || $current ne $expected} { return -code error -errorcode {OPENACS REGISTRATION_VERIFICATION STALE} "Stale registration verification link" } auth::set_email_verified -user_id $user_id return [auth::token::issue -purpose password_reset -user_id $user_id -ttl 1800 -context $current]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-authentication/tcl/local-procs.xql