diff --git a/src/Forum/Controller/LogOutController.php b/src/Forum/Controller/LogOutController.php index d3473a068..cc71a20af 100644 --- a/src/Forum/Controller/LogOutController.php +++ b/src/Forum/Controller/LogOutController.php @@ -108,7 +108,7 @@ class LogOutController implements ControllerInterface $return = array_get($request->getQueryParams(), 'return'); $view = $this->view->make('flarum.forum::log-out') - ->with('url', $this->url->toRoute('logout').'?token='.$csrfToken.($return ? '&return='.urlencode($return) : '')); + ->with('url', $this->url->to('forum')->route('logout').'?token='.$csrfToken.($return ? '&return='.urlencode($return) : '')); return new HtmlResponse($view->render()); } diff --git a/views/reset-password.blade.php b/views/reset-password.blade.php index 11ac7020e..5c5a9d86b 100644 --- a/views/reset-password.blade.php +++ b/views/reset-password.blade.php @@ -14,7 +14,7 @@ @endif -
+