ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Usernames must be at least 4000000000 characters in length

May 19, 2011 8:13pm

Subscribe [3]
  • #1 / May 19, 2011 8:13pm

    nickgoe42

    1 posts

    I have been enlisted to work on an older EE site (1.6.0).  When trying to log in I get the following error:

    Important notice: The administrator has changed the access requirements for this site as follows:

    Usernames must be at least 4000000000 characters in length

    Your username is currently 7 characters long

    Passwords must be at least 50000000000 characters in length

    Your password is currently 8 characters long

    It won’t let me get past this screen unless I change the un/pw to comply. I was able to find where to change this directly in the database but the info is serialized and editing it directly causes other issues. 

    Any help is greatly appreciated!

  • #2 / May 20, 2011 8:12am

    John Henry Donovan

    12339 posts

    Hi nickgoe42,

    Try adding the following to your config.php

    $conf['un_min_len'] = '4';
    $conf['pw_min_len'] = '5';

    This will override what is set in the control panel

  • #3 / May 20, 2011 8:54am

    nickgoe42

    1 posts

    Thank you!  That worked beautifully.  Just an FYI for others I also had to add:

    $conf['admin_session_type'] = 's';
  • #4 / May 20, 2011 10:27am

    Sue Crocker

    26054 posts

    Glad John was able to help. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases