A user should be redirected to home page if logged in instead of the login page

Description

SAME AS (LUI-60)https://openmrs.atlassian.net/browse/LUI-60

Reproducing issue:

  • Setup an instance of openmrs legacy application (not reference application)

  • login and access http://188.226.232.194:8080/openmrs/login.htm (change path accordingly)

  • that page needs not to show up a login form since user is already signed in

Assignment:

  • Check if user is logged in on accessing that login page and only render it if user is logged out

  • Redirect to either previous page or home page accordingly if user is logged in

Activity

Show:

Mark Goodrich June 22, 2016 at 5:57 AM

Wyclif Luyima March 9, 2016 at 5:28 PM

Thanks !

Wyclif Luyima March 9, 2016 at 5:28 PM

Merged to 1.10.x and 1.9.x at c406eac and https://git.io/vaLFD

Shreyans Sheth March 9, 2016 at 12:41 PM

Finally implemented a controller for the page which checks for authentication issues and redirects users to the home page if logged in when authenticated.

Shreyans Sheth March 9, 2016 at 12:40 PM

Fixed

Details

Assignee

Reporter

Complexity

Low

Designated Committer

Original estimate

Time tracking

No time logged1d remaining

Priority

Created January 27, 2016 at 3:36 PM
Updated June 22, 2016 at 5:57 AM
Resolved March 9, 2016 at 5:28 PM