diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 254a8df7a..9607cffec 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -50,7 +50,7 @@ protected function unauthenticated($request, AuthenticationException $exception) return response()->json(['message' => $exception->getMessage()], 401); } - return redirect()->guest($exception->redirectTo() ?? route('login')); + return redirect()->guest($exception->redirectTo($request) ?? route('login')); } /** diff --git a/config/sentry.php b/config/sentry.php index 3ce5dfbc9..df4aa6283 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.308', + 'release' => '4.0.0-beta.309', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 4e1a16799..3f8d8e2ff 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@