Allow login with passwords not meeting complexity requirements
authorcsteipp <csteipp@wikimedia.org>
Sat, 8 Mar 2014 01:14:24 +0000 (17:14 -0800)
committerCSteipp <csteipp@wikimedia.org>
Tue, 18 Mar 2014 20:46:44 +0000 (20:46 +0000)
commit9d7af803a1b5545ae6b69cc9da13f98e9525f1b6
tree1d966c502d01dc3d9cc6b5eab56ab8f6326f3a7d
parenteca4351d1f0a168f00be861d92ed2b2375aad4f5
Allow login with passwords not meeting complexity requirements

As part of https://www.mediawiki.org/wiki/Requests_for_comment/Passwords

This patch:
* Allows users to login with a password that does not meet the
  requirements of User::isValidPassword(), including the minimum password
  length.
* Adds a configuration flag that specifies if users should be sent to
  the change password form when they login with a password that doesn't
  meet the requirements of User::isValidPassword().

To test the UX as it will be on WMF wikis, set
$wgMinimalPasswordLength=6 in your LocalSettings.php.

Change-Id: Ib7b72005fea1c69073c0a33a68c0a0df0d6528d2
includes/DefaultSettings.php
includes/User.php
includes/specials/SpecialUserlogin.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc