mirror of
https://github.com/flarum/core.git
synced 2025-07-24 02:01:19 +02:00
Make registration errors still work properly when debug mode is on
This commit is contained in:
@@ -128,6 +128,8 @@ class HtmlDocumentFactory
|
||||
{
|
||||
$actor = $request->getAttribute('actor');
|
||||
|
||||
$this->api->setErrorHandler(null);
|
||||
|
||||
return $this->getResponseBody(
|
||||
$this->api->send(ShowForumController::class, $actor)
|
||||
);
|
||||
|
Reference in New Issue
Block a user