Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135534

Login portlet does not redirect if user is already signed in

    Details

      Description

      Reproduction steps:

      1. Start clean empty bundle
      2. Log in using the test user or any user
      3. Access the following url (maybe it will be neccessary to adapt the hostname and/or the password depending on your setup)
        http://localhost:8080/web/guest/home?p_p_state=maximized&p_p_mode=view&saveLastPath=false&_com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName=%2Flogin%2Flogin&p_p_id=com_liferay_login_web_portlet_LoginPortlet&p_p_lifecycle=0&_com_liferay_login_web_portlet_LoginPortlet_redirect=%2Fweb%2Fguest%2Fsearch
        

      Expected behavior:

      • The user is redirected to the search results page according to the "redirect" parameter of the url.

      Actual behavior:

      • The message "You are signed in as Test Test." is shown and no redirect is done.

        Attachments

          Activity

            People

            Assignee:
            team-app-security Product Team App Security
            Reporter:
            javier.moral Javier Moral
            Participants of an Issue:
            Recent user:
            Stian Sigvartsen
            Engineering Assignee:
            Javier Moral
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 weeks, 4 days ago

                Packages

                Version Package