Problem/Motivation
In D7, a manual created menu link pointing to "user/login" only showed up if I'm not already logged in.
In D8, the link shows up no matter whether I'm already logged in or not.
Guess that has something to do with the new routing system.
Steps to replicate this issue:
- Goto: /admin/structure/menu/manage/main
- Add a menu link "Login" to the path "user/login"
- Go to the home page, , whilst logged in, you should have 2 links "Home" and "Login"
On Drupal 7 you wouldn't see this link.
Proposed resolution
Before
After
Remaining tasks
User interface changes
Yes, login menu item will not display if one is already logged in