mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-14 03:08:54 +01:00
Ran rector to convert some our twig extensions to use #[AsTwigXX] attributes
This commit is contained in:
@@ -147,10 +147,7 @@ class SecurityController extends AbstractController
|
||||
'label' => 'user.settings.pw_confirm.label',
|
||||
],
|
||||
'invalid_message' => 'password_must_match',
|
||||
'constraints' => [new Length([
|
||||
'min' => 6,
|
||||
'max' => 128,
|
||||
])],
|
||||
'constraints' => [new Length(min: 6, max: 128)],
|
||||
]);
|
||||
|
||||
$builder->add('submit', SubmitType::class, [
|
||||
|
||||
Reference in New Issue
Block a user