]> git.mjollnir.org Git - moodle.git/commit
MDL-14883 Password expiration check during login doesn't work after NTLM integration
authoriarenaza <iarenaza>
Sun, 18 May 2008 21:33:19 +0000 (21:33 +0000)
committeriarenaza <iarenaza>
Sun, 18 May 2008 21:33:19 +0000 (21:33 +0000)
commite6d4c2f868e915cebd352d06b4066208d9f2888b
treeba3f8ea9a475b09ef761ac4f79c9e1a1c545cceb
parent907a375942080cbdd9cb824a75a7350d0978e904
MDL-14883 Password expiration check during login doesn't work after NTLM integration

Forward ported from MOODLE_19_STABLE.

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.

Add the missing variable and related code to get a suitable password change url.
Also remove the now inexistant $focus variable from the call to print_header().
login/index.php