Redirect to categories homepage is not happening with direct login

We have a discourse setup with the following configuration

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

2 Likes

That does sound like a bug, can you repro @jomaxro?

2 Likes

Yep, confirmed the unexpected redirect when accessing via /login. Thanks for the clear repro steps @gingerman!

1 Like

Should be fixed by:

https://github.com/discourse/discourse/commit/071bd15463fd0f9d695624d0cc82ccffa9efacf6

5 Likes

This topic was automatically closed after 26 hours. New replies are no longer allowed.