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

7 Responses to “Allowing shorter passwords in AutoIndex”

  1. ezybet Says:
    January 24th, 2025 at 22:43

    … [Trackback]

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

  2. hit789 Says:
    January 25th, 2025 at 09:54

    … [Trackback]

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

  3. pakong188 Says:
    January 30th, 2025 at 07:13

    … [Trackback]

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

  4. HArmonyCa Says:
    February 5th, 2025 at 02:32

    … [Trackback]

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

  5. Devam脹n脹 oku Says:
    February 18th, 2025 at 14:15

    … [Trackback]

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

  6. Read more Says:
    February 18th, 2025 at 16:50

    … [Trackback]

    […] Find More Information here to that Topic: compdigitec.com/labs/2008/10/30/allowing-shorter-passwords-in-autoindex/ […]

  7. sagame Says:
    February 20th, 2025 at 10:09

    … [Trackback]

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

Comments