Compdigitec Labs

« | Home | »

Allowing shorter passwords in AutoIndex

By admin | October 30, 2008

If you’ve ever found AutoIndex PHP Script‘s password valiator’s resrictions on a long password annoying, you’re not alone. Fortunately, we have found a workaround for it.

Steps

  1. Download the AutoIndex script.
  2. Extract the archive and open classes/Admin.php
  3. Find the line that says “private static function validate_new_password($pass1, $pass2)“.
  4. Move further down to the line that says “if (strlen($pass1) < ” and:
  5. Change the minimal password length (the number after “$pass1) < “),
  6. (Optional) …and the accompanying message following it.
  7. Save and you’re done!

If you found this post on allowing shorter passwords in AutoIndex helpful, please help Compdigitec by spreading the word. Don’t forget to subscribe to Compdigitec Labs for more interesting articles!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Internet, PHP | No Comments »

Comments