auth::local::password::RetrievePassword (private)
auth::local::password::RetrievePassword username parameters
Defined in packages/acs-authentication/tcl/local-procs.tcl
Implements the RetrievePassword operation of the auth_password service contract for the local account implementation.
- Parameters:
- username (required)
- parameters (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth_password_implementations
Source code: set result(password_status) "ok" set result(password_message) [_ acs-subsite.Request_Change_Password_token_email] set user_id [acs_user::get_by_username -authority_id [auth::authority::local] -username $username] if {$user_id eq ""} { return [list password_status no_account] } if {![auth::local::password::send_reset_link $user_id]} { return [list password_status retrieve_error] } return [array get result]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-authentication/tcl/local-procs.xql