Replies: 3 comments
-
I think I remember this has been brought up before. Why do you think it's a problem that a signed in user can visit the sign-in page? |
Beta Was this translation helpful? Give feedback.
-
Hi Mikkel, first of, thank you very much for giving your attention to this issue. So to answer your question I think if we go with the standards it is an intuitive choice to prevent the user from navigating to auth routes other than the |
Beta Was this translation helpful? Give feedback.
-
🤷♂️ I don't know, I don't think it's a problem. Intuitive and common aren't really saying anything about whether it's a good idea or not. If others feel it's a problem as well, feel free to jump in. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm new to rails development. I've tried to find a solution to the above problem but have not been able to solve it so far.
Steps to reproduce,
Signed in user can still visit the login page. What is the correct way to stop it? I got a bit wacky and implemented a logic where it prevents rendering the form in the view but there must be a proper way.
thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions