|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Enumerations | |
| enum | CLI_SCRIPT |
Variables | |
| $prompt = "enter username (manual authentication only)" | |
| $username = cli_input($prompt) | |
| $password = cli_input($prompt) | |
| $errmsg = '' | |
| if(!check_password_policy($password, $errmsg)) | $hashedpassword = hash_internal_user_password($password) |
| enum CLI_SCRIPT |
Definition at line 27 of file reset_password.php.
| $errmsg = '' |
Definition at line 70 of file reset_password.php.
| if (!check_password_policy($password, $errmsg)) $hashedpassword = hash_internal_user_password($password) |
Definition at line 75 of file reset_password.php.
| $password = cli_input($prompt) |
Definition at line 68 of file reset_password.php.
| if (!$user=$DB->get_record('user', array('auth'=>'manual', 'username'=> $username, 'mnethostid'=> $CFG->mnet_localhost_id))) $prompt = "enter username (manual authentication only)" |
Definition at line 60 of file reset_password.php.
Definition at line 61 of file reset_password.php.