redirrect to intented url instead of static
This commit is contained in:
parent
b09c55d67b
commit
169cd549a0
1 changed files with 1 additions and 1 deletions
|
|
@ -46,6 +46,6 @@ class LoginController extends Controller
|
|||
*/
|
||||
protected function redirectTo(): string
|
||||
{
|
||||
return \route('bo.dashboard');
|
||||
return response()->redirectToIntended()->getTargetUrl();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue