Skip to content

Commit

Permalink
Merge branch 'MDL-63748-master' of git://github.com/jleyva/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Nov 5, 2018
2 parents 0422a13 + d9714b1 commit e572007
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions login/confirm.php
Expand Up @@ -79,6 +79,14 @@
complete_user_login($user);

\core\session\manager::apply_concurrent_login_limit($user->id, session_id());

// Check where to go, $redirect has a higher preference.
if (!empty($redirect)) {
if (!empty($SESSION->wantsurl)) {
unset($SESSION->wantsurl);
}
redirect($redirect);
}
}

$PAGE->navbar->add(get_string("confirmed"));
Expand Down

0 comments on commit e572007

Please sign in to comment.