*/ protected $dontFlash = [ 'current_password', 'password', 'password_confirmation', ]; /** * Register the exception handling callbacks for the application. */ public function register(): void { $this->reportable(function (Throwable $e) { // }); } protected function context(): array { return array_merge(parent::context(), [ 'current_url' => request()->url(), ]); } }