Skip to content

Commit 2b37c3d

Browse files
committed
Update RedirectIfAuthenticated.php
1 parent 658617c commit 2b37c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/RedirectIfAuthenticated.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function handle(Request $request, Closure $next, ...$guards)
2323

2424
foreach ($guards as $guard) {
2525
if (Auth::guard($guard)->check()) {
26-
return redirect(RouteServiceProvider::HOME);
26+
return redirect(url('dashboard'));
2727
}
2828
}
2929

0 commit comments

Comments
 (0)