Skip to content

Commit 4b905db

Browse files
committed
fix: update redirect URL in unauthenticated exception handler
1 parent 19097c6 commit 4b905db

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/Exceptions/Handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected function unauthenticated($request, AuthenticationException $exception)
5050
return response()->json(['message' => $exception->getMessage()], 401);
5151
}
5252

53-
return redirect()->guest($exception->redirectTo() ?? route('login'));
53+
return redirect()->guest($exception->redirectTo($request) ?? route('login'));
5454
}
5555

5656
/**

config/sentry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// The release version of your application
99
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
10-
'release' => '4.0.0-beta.308',
10+
'release' => '4.0.0-beta.309',
1111
// When left empty or `null` the Laravel environment will be used
1212
'environment' => config('app.env'),
1313

config/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22

3-
return '4.0.0-beta.308';
3+
return '4.0.0-beta.309';

versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"coolify": {
33
"v4": {
4-
"version": "4.0.0-beta.308"
4+
"version": "4.0.0-beta.309"
55
}
66
}
77
}

0 commit comments

Comments
 (0)