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

Redirected to the update password interface after first connection

    Details

      Description

      Hi,

      Problem: The user is redirected to the update password interface after first connection (but he should not).

      Setted options (values verified at runtime ) :

      passwords.default.policy.change.required=false
      

      Function used at user creation in my Authenticator :

      User user = UserLocalServiceUtil.addUser(/* ... */);
      UserLocalServiceUtil.updateEmailAddressVerified(user.getUserId(), true);
      UserLocalServiceUtil.updateAgreedToTermsOfUse(user.getUserId(), true);
      UserLocalServiceUtil.updatePasswordReset(user.getUserId(), false); // This does NOT work !
      

      To sum up, after I return "SUCCESS" from Authenticator#authenticateByScreenName() , the user is redirected to update_password.jsp page (he should not), if he refresh the page he's redirected to the home page... ok but he should not land to the update_password interface after the first connection.

      Best regards,

        Attachments

          Activity

            People

            Assignee:
            tomas.polesovsky Tomáš Polešovský
            Reporter:
            g g (Inactive)
            Participants of an Issue:
            Recent user:
            Michael Saechang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years ago

                Packages

                Version Package