Skip to content

Commit 1c08c79

Browse files
authored
Change default redirect path
Change default redirect after registering to /dashboard instead of /home. /home route doesn't exist by default.
1 parent 1d15cfd commit 1c08c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Library/Auth/RedirectsUsers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public function redirectPath()
1515
return $this->redirectTo();
1616
}
1717

18-
return property_exists($this, 'redirectTo') ? $this->redirectTo : '/home';
18+
return property_exists($this, 'redirectTo') ? $this->redirectTo : '/dashboard';
1919
}
2020
}

0 commit comments

Comments
 (0)