jmlagace / redmine_home_page_redirector

When a user is signed-in. The Home link sends to My Page
5 stars 6 forks source link

Don't redirect to my page if a link to another page is used #3

Open yennor opened 4 years ago

yennor commented 4 years ago

If I send a link to an issue to a user, like: https://example.com/redmine/issues/170

And the user isn't logged in, then after login he gets redirected to "my page" instead of the issue. It would be great if he only would be redirected to my page when he tries to access https://example.com/redmine

jmlagace commented 4 years ago

Hello @yennor.

Can you provide more details on your redmine installation to properly troubleshoot the situation? My own redmine is running on the root of the domain ( like https://redmine.example.com ) and when sending to a specific issue https://redmine.example.com/issues/170, the user is redirected to the final link without hitting the my/page page.

Thanks!!.

yennor commented 4 years ago

my redmine installation is in a subdirectory. like: https:://example.com/redmine

If the user is already logged in, then a linke like: https://example.com/redmine/issues/170 works. But if the user is not logged in yet, and hits the login screen first. Then it doesn't work.