diff --git a/renderer.php b/renderer.php index a26998e3..54f13ad1 100644 --- a/renderer.php +++ b/renderer.php @@ -224,7 +224,7 @@ public function not_enough_factors() { $return = $this->output->notification($notification, 'notifyerror'); // Logout button. - $url = new \moodle_url('\admin\tool\mfa\auth.php', ['logout' => 1]); + $url = new \moodle_url('/admin/tool/mfa/auth.php', ['logout' => 1]); $btn = new \single_button($url, get_string('logout'), 'post', true); $return .= $this->render($btn);