Skip to content

Commit

Permalink
fix issue krayin#1654.
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-webkul committed Oct 1, 2024
1 parent a78035d commit b69a848
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function store()
return redirect()->route('admin.session.create');
}

return redirect()->intended(route('admin.dashboard.index'));
return redirect()->intended(menu()->getItems('admin')->first()->getRoute());
}

/**
Expand Down

0 comments on commit b69a848

Please sign in to comment.