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 | 2 Comments »

2 Responses to “Allowing shorter passwords in AutoIndex”

  1. วิธีเล่น TikTok ให้รวย Says:
    March 29th, 2025 at 17:20

    … [Trackback]

    […] There you will find 24919 additional Information on that Topic: compdigitec.com/labs/2008/10/30/allowing-shorter-passwords-in-autoindex/ […]

  2. นวดหน้ายกกระชับ Says:
    March 31st, 2025 at 05:39

    … [Trackback]

    […] Read More on on that Topic: compdigitec.com/labs/2008/10/30/allowing-shorter-passwords-in-autoindex/ […]

Comments