• Hnk Reno's avatar
    Change read_password() logic to better catch improper passwords · 6c64723d
    Hnk Reno authored
    Currently read_password does not verify password length. But further down the chain, passwords are checked to make sure they are longer than four characters.
    
    If during initial setup, the user enters a password that is shorter than four characters, this will not be caught here, but when the script actually calls management/mailconfig.py to add the user, it will fail without a chance to correct the short password.
    
    The setup script will then continue without an inital user being created and this will confuse users.
    6c64723d
mail.py 4.34 KB