*/ protected $dontFlash = [ 'current_password', 'password', 'password_confirmation', ]; /** * Register the exception handling callbacks for the application. */ public function register(): void { $this->reportable(function (Throwable $e) { // }); $this->renderable(function (TokenMismatchException $e) { return back() ->withInput() ->with('error', 'Sesi halaman sudah berubah atau kadaluarsa. Silakan coba kirim ulang bukti transaksi.'); }); } }