Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9860

Incorrect check for password expiration at login.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9
    • Fix Version/s: 1.8.1
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      Any.
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      We use the wrong construct to get the user password expiration value in .../login/index.php. We use a pre-multi authentication construct that always returns 0 (the integer value for the empty string), so the password expiration check is incorrect.

      The attached patches (for 1.8 and 1.9) fix this issue.

      Saludos. Iñaki.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            iarenaza Iñaki Arenaza
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jun/07