Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16646

User's account is still disabled after being enabled by Admin and no successfully login is performed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 11.7-rc-1
    • 11.6
    • Old Core, Security
    • None
    • Windows 10 Pro 64 bit, Firefox 68, using a local instance of XWiki 11.6 on Oracle 12c
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      1. Login as Admin
      2. Create an user (e.g. U1)
      3. Go to Administer Wiki > Users & Rights > Authentication
      4. On 'Failure Strategies' select 'Disable account' and Save
      5. Logout
      6. Try to login with user's name (U1) and a wrong password 3 times (default setting) in order to get the message that the user's account is disabled
      7. Login as Admin
      8. Go to user's (U1) profile page and enable its profile
      9. Logout
      10. Try to login again with user's name (U1) and a wrong password

      EXPECTED RESULTS

      The message 'Error: Invalid credentials' is displayed. The user has 2 remaining tries until its account is disabled again.

      ACTUAL RESULTS

      The message that the user's account is disabled is still displayed. If logging in with Admin and go to the user's profile page, the account is disabled indeed.

      However, this happens if the user does not first login successfully after its account was enabled by Admin.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: