We have a discourse setup with the following configuration
- Settings - Top Menu -> categories, latest
- Wizard (https://site/wizard/steps/homepage) - Categories boxes
- Site is public
When the site is accessed as https://sitename, it is correctly redirecting to Categories Page.
Looks like a Bug - When the site is accessed as https://sitename/login, it is auto redirecting to https://sitename/latest before showing the login modal.
Expected - When the site is accessed as https://sitename/login, it should redirect to https://sitename or https://sitename/categories before showing the login modal.
If it is not a bug, kindly guide how to implement the expected scenario via a plugin