diff --git a/login/index.php b/login/index.php index 7f6656026ab..0966e92d3d2 100644 --- a/login/index.php +++ b/login/index.php @@ -198,7 +198,8 @@ if ($frm and isset($frm->username)) { // Login WITH [ 'username' => $frm->username, 'password' => $frm->password, - 'resendconfirmemail' => true + 'resendconfirmemail' => true, + 'logintoken' => \core\session\manager::get_login_token() ] ); echo $OUTPUT->single_button($resendconfirmurl, get_string('emailconfirmationresend'));