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

Password expiration check during login doesn't work after NTLM integration.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.1
    • Fix Version/s: 1.9.2
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      As part of the NTLM integration work, we moved some login code from login/index.php to lib/moodlelib.php (function complete_user_login()). This broke the password expiration check code, as we moved the $userauth variable to complete_user_login(), and we also need it in login/index.php later.

      The attached patch fixes the issue, and removes the now inexistant $focus variable from the call to print_header().

      I've tested the patch locally with Active Directory (as the original report talked about AD password expiry support - see -http://moodle.org/mod/forum/discuss.php?d=97060 -) and it works as expected. If nobody opposes to it, i'll check it into CVS in a day or so.

      Saludos. Iñaki.

        Attachments

          Activity

            People

            • Assignee:
              iarenaza Iñaki Arenaza
              Reporter:
              iarenaza Iñaki Arenaza
              Tester:
              Petr Skoda
              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/Jul/08