I had trouble with user logins and I believe it may be related to passwords
upper case
lower case
number
special character
min 8 characters
Entering this as a password results in NO ACTION.
If you leave the page, you won’t know until the user cannot login
Example1; Gdrssaq2Um!
Am I missing something with that password? Doesn’t it fit the requirements?
However, THIS will work:
Example 2: 4R7cfDRE#&16X4sM
Confused.
rsp
15 August 2025 16:56
2
Are you trying this for the admin account for first time to login?
Then you need to use when simple password for first time login with admin account, afterword you could update your password to stronger one from the profile settings.
No,. logged into admin adding a user
Try adding a test user with this password
Gdrssaqln2Um!
Click save, see what you get.
There is no screen refresh on my side.
If I try to log in with that info it is denied
Hello Vincent,
that’s because the ! isn’t considered a special character:
}
if ($onelower && strtoupper($newPassword) === $newPassword) {
$messages[] = $mod_strings['ERR_PASSWORD_ONELOWER'];
}
if ($onenumber && !preg_match('/[0-9]/', (string) $newPassword)) {
$messages[] = $mod_strings['ERR_PASSWORD_ONENUMBER'];
}
if ($onespecial && false === strpbrk($newPassword, "#$%^&*()+=-[]';,./{}|:<>?~")) {
$messages[] = $mod_strings['ERR_PASSWORD_SPECCHARS'];
}
$message = implode('<br>', $messages);
return $message;
}
public function is_authenticated()
{
But overall a good find - I’ve noticed an adjacent error and filed a ticket:
opened 06:21PM - 15 Aug 25 UTC
Type: Bug
### Issue
After setting up a password policy and creating a new user and a save… / more complex password, the error messages show up on the next click / different page.
Directly after clicking on save, I get a 301:
<img width="3830" height="2220" alt="Image" src="https://github.com/user-attachments/assets/432fb93c-1b04-42d6-817a-0b526e02c506" />
Then I click on any other page and will finally see the errors:
<img width="3830" height="793" alt="Image" src="https://github.com/user-attachments/assets/ec7f30a7-c0f1-44b6-b0fb-70f35115fe53" />
### Possible Fix
_No response_
### Steps to Reproduce the Issue
```bash
1. Setup a password policy with some requirements
2. Create a user with a password that violates this policy and try to save the user
```
### Context
_No response_
### Version
8.8.1
### What browser are you currently using?
Firefox
### Browser Version
_No response_
### Environment Information
MySQL, PHP 8.3
### Operating System and Version
Ubuntu 24
2 Likes