mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-27 19:07:33 +03:00
Updated OIDC error handling for better error reporting
Fixes issue where certain errors would not show to the user due to extra navigation jumps which lost the error message in the process. This simplifies and aligns exceptions with more directly handled exception usage at the controller level. Fixes #3264
This commit is contained in:
@@ -11,9 +11,6 @@ class NotifyException extends Exception implements Responsable
|
||||
public $redirectLocation;
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* NotifyException constructor.
|
||||
*/
|
||||
public function __construct(string $message, string $redirectLocation = '/', int $status = 500)
|
||||
{
|
||||
$this->message = $message;
|
||||
|
||||
Reference in New Issue
Block a user