WaspW
Wasp2y ago
KC

Should the `/login` route respect the `onAuthSucceededRedirectTo` when the user visits `/login`?

When the user first logs in from the login route, they are redirected to the path set in onAuthSucceededRedirectTo. However, when the user is already logged in and visits the login route path /login, they are redirected to /.

I am using email auth if that helps.
Was this page helpful?