Replies: 1 comment
-
above is one of the way we can add custom logic to deal with the problem you encountered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when a user tries to access the login page after being authenticated, I would like the user to be automatically redirected to the home page,
here is the middleware
to achieve this I currently use the alternative of defining a custom hook
Beta Was this translation helpful? Give feedback.
All reactions