From e9e793c796a1457d66b65f0ebffd771398b0997c Mon Sep 17 00:00:00 2001 From: Tim Bischoff Date: Mon, 22 Jul 2024 10:51:08 +0200 Subject: [PATCH] fixed missing question mark --- src/Core/PasswordPolicyValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/PasswordPolicyValidator.php b/src/Core/PasswordPolicyValidator.php index e8c5cc1e..9258f738 100644 --- a/src/Core/PasswordPolicyValidator.php +++ b/src/Core/PasswordPolicyValidator.php @@ -91,7 +91,7 @@ public function validatePassword(string $sPassword): ?StandardException if ( $settings->getPasswordNeedSpecialCharacter() and - !preg_match('([\.,_@\~\(\)\!\#\$%\^\&\*\+=\-\\\/|:;`]+)', $sPassword) + !preg_match('([\.,_@\~\(\)\!\#\$%\?\^\&\*\+=\-\\\/|:;`]+)', $sPassword) ) { $sError = 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESSPECIAL'; }