Menu

I can not create a new user

Help
2003-05-31
2012-09-23
  • Ramiro Vergara

    Ramiro Vergara - 2003-05-31

    I installed Openclinic without a problem.

    I logged in as admin/admin, I created a staff member, then I tried to create a user, however upon completion I clicked entered and I am promtpted an error message that the password should be 4 characters long minimum, no matter how long the password is I receive the same message.

    As a  result I have been unable to create new users.

    Is this a bug or I am doing something wrong?

     
    • Ramiro Vergara

      Ramiro Vergara - 2003-05-31

      Forgot to mention that I was using openclinic 0.4

       
    • Jose Antonio Chavarria

      To resolve this, just do it the following:
        1.- Edit openclinic/classes/User.php file
        2.- Search "function setPwd($pwd)"
        3.- Change $pwd argument to $value
        4.- Search "function setPwd2($pwd)"
        5.- Change $pwd argument to $value
        6.- Save the changes and fixed

        jact

       

Log in to post a comment.