-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spaces in Passwords Not Allowed #89
Comments
Hello Frank Crawford. I have meet a problem which is not noted by any logs: I have installed namedmanage-bind.noarch and namedmanage-www.noarch successfully from YUM, and updated all configure files following the wiki documents step by step. When I executed this command: My shell return as:
According to the wiki documents, my configure files were checked successfully. But in the NamedManager web, the
Have you ever had this problem? If so, where should I solve the problem? |
@waitspring I don't remember ever seen this error before, although I'm not certain. I don't currently have it. |
The test in htdocs/user/login-process.php files if the user's password has a space in it. The test is:
$password = security_form_input("/^\S*$/", "password_namedmanager", 1, "Please enter a password.");
The message appears to be ensure that it isn't an empty string entered, but fails. I've changed it to:
$password = security_form_input("/^\S.*$/", "password_namedmanager", 1, "Please enter a password.");
Which is less stringent, in that it only expects a non-space as the first character, and then accepts the rest of the line, although I'm sure there are other ways to do his test.
The text was updated successfully, but these errors were encountered: