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:
Dan Brown
2022-02-24 14:16:09 +00:00
parent 63ce3c9add
commit ce566bea2a
8 changed files with 72 additions and 57 deletions

View File

@@ -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;