Project

General

Profile

Actions

Feature #16862

closed

Only after log out, Redmine should redirect to login page instead of public page

Added by Lajish Lakshmanan over 10 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
2014-05-29
% Done:

0%

Estimated time:
Resolution:
Wont fix

Description

While logging out from redmine, it should redirects to login page just like google email works. But if user visits Redmine link for first time after opening web browser for first time, then it should behaves as it is.

Actions #1

Updated by Jan Niggemann (redmine.org team member) over 10 years ago

  • Due date set to 2014-05-29
  • Status changed from New to Needs feedback

Before submitting a bug report, please read SubmittingBugs to make sure that you provide all the required information.

What version are you using? Please provide more information.

While logging out from redmine, it should redirects to login page

My 2.4.2 does exactly that...

Actions #2

Updated by Lajish Lakshmanan over 10 years ago

I am using 2.5.1, what I meant was, after clicking Sign Out, redmine should get redirected to Sign In page. I don't know whether it is possible or not for you people. But you can observe this requested behavior based on browser cookies after sign out from Gmail account.

Actions #3

Updated by Jan Niggemann (redmine.org team member) over 10 years ago

after clicking Sign Out, redmine should get redirected to Sign In page

It does exactly that, like I stated above. It also does on my 2.5.1 instance...

Sorry, I can't reproduce your described behaviour (i.e. that it does not redirect)...

Actions #4

Updated by Lajish Lakshmanan over 10 years ago

Jan Niggemann (redmine.org team member) wrote:

after clicking Sign Out, redmine should get redirected to Sign In page

It does exactly that, like I stated above. It also does on my 2.5.1 instance...

Sorry, I can't reproduce your described behaviour (i.e. that it does not redirect)...

Okay Jan, do one thing, please follow these steps.....
1. www.redmine.org
2. Click on 'Sign In' link
3. Login to redmine
4. Then navigate to any link (say 'Wiki')
5. Then click sign out
6. Now check whether you are redirected to sign in page or you are still at Wiki page

Actions #5

Updated by Jan Niggemann (redmine.org team member) over 10 years ago

  • Status changed from Needs feedback to New

You're right, I can reproduce this on redmine.org... (which uses 2.5.1 devel btw).

Actions #6

Updated by Holger Just about 2 months ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

If your Redmine is configured to always require authentication in Administration -> Settings -> Authentication -> Authentication required, then there will be no public content and users will be redirected to the login page as required.

If the Redmine is configured to allow anonymous access to (some) projects, it is quite reasonable to allow anonymous access to these public pages after login. This is the case on https://www.redmine.org. On GMail, they use a behavior similar to Redmine required authentication, as anonymous access to your emails is not desired.

Thus, if you want to always require a login AND to redirect the user to the login page after logout, you can enforce authentication with the above mentioned setting.

Actions

Also available in: Atom PDF