* Change behavior of logins using the temporary e-mailed password (as stored
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 12 Dec 2006 04:15:00 +0000 (04:15 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 12 Dec 2006 04:15:00 +0000 (04:15 +0000)
commit1c4daa97242e6068b00411c73ebbde7aff3ae39d
tree3053a286d33a440fb3d3d2a559c3c93fefd0d9a6
parent8f5a6d9b8b84ca18f0be909bb2ece31a8f164f3c
* Change behavior of logins using the temporary e-mailed password (as stored
  in user_newpassword hash field). Instead of just logging in silently and
  leaving the previous user_password field in place indefinitely, the user
  is now prompted to set a new password.

  The password-changing form is at Special:Resetpass; currently it's only
  usable for changing from the temporary password during login, but it
  could perhaps be generalized, replacing the subform in preferences.

  Once the new password is set successfully, the temporary password is wiped
  so it cannot be used to login a second time, and the login process
  is completed.
* Suppress 'mail new password' button on login form if $wgAuth forbids
  changing user passwords; it wouldn't work very well...
* Consolidate password length checks and $wgAuth manipulation into
  User::setPassword() to avoid duplicate code in different places
  that set passwords.
* User::setPassword() now throws PasswordError exceptions if the password
  is illegal or cannot be set via $wgAuth. These can be caught and a human-
  readable error message displayed by UI code.
RELEASE-NOTES
includes/AutoLoader.php
includes/SpecialPage.php
includes/SpecialPreferences.php
includes/SpecialResetpass.php [new file with mode: 0644]
includes/SpecialUserlogin.php
includes/User.php
includes/templates/Userlogin.php
languages/messages/MessagesEn.php