Skip to content

Commit

Permalink
[TASK] Add weaker password policies for local test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Dec 7, 2024
1 parent 29c0eec commit ec42e0a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .project/TYPO3/additional.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
'msclkid',
],
],
'passwordPolicy' => 'simpleLuxletter',
],
'GFX' => [
'colorspace' => 'sRGB',
Expand Down Expand Up @@ -102,3 +103,19 @@
]
];
$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive($GLOBALS['TYPO3_CONF_VARS'], $additional);

$GLOBALS['TYPO3_CONF_VARS']['SYS']['passwordPolicies'] = [
'simpleLuxletter' => [
'validators' => [
\TYPO3\CMS\Core\PasswordPolicy\Validator\CorePasswordValidator::class => [
'options' => [
'minimumLength' => 3,
'upperCaseCharacterRequired' => false,
'lowerCaseCharacterRequired' => false,
'digitCharacterRequired' => false,
'specialCharacterRequired' => false,
],
],
],
],
];

0 comments on commit ec42e0a

Please sign in to comment.