mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
Fix admin login
This commit is contained in:
@@ -65,7 +65,7 @@ class RequireAdministrateAbility implements MiddlewareInterface
|
|||||||
|
|
||||||
return new HtmlResponse(
|
return new HtmlResponse(
|
||||||
$this->view->make('flarum.admin::login')
|
$this->view->make('flarum.admin::login')
|
||||||
->with('token', $request->getAttribute('session')->csrf_token)
|
->with('token', $request->getAttribute('session')->get('csrf_token'))
|
||||||
->render()
|
->render()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user