Merge branch 'MDL-68178-master' of git://github.com/mihailges/moodle

This commit is contained in:
Jun Pataleta 2020-07-22 12:59:09 +08:00
commit c765b1f7e2

View file

@ -198,7 +198,8 @@ if ($frm and isset($frm->username)) { // Login WITH
[ [
'username' => $frm->username, 'username' => $frm->username,
'password' => $frm->password, 'password' => $frm->password,
'resendconfirmemail' => true 'resendconfirmemail' => true,
'logintoken' => \core\session\manager::get_login_token()
] ]
); );
echo $OUTPUT->single_button($resendconfirmurl, get_string('emailconfirmationresend')); echo $OUTPUT->single_button($resendconfirmurl, get_string('emailconfirmationresend'));