File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,21 @@ Priority of the two-factor authenticator has changed from `0` to `-100`. Please
1010is still working fine, especially when you're using custom (non-official) authenticators. You might need to adjust
1111the priority of your custom authenticator.
1212
13+ When using the validator constraints ` UserTotpCode ` or ` UserGoogleTotpCode ` under Symfony 8, you can no longer pass the
14+ options as an associative array. Use constructor arguments instead. You can use named arguments.
15+
16+ Before:
17+
18+ ``` php
19+ new UserTotpCode(['message': 'The authentication code is invalid'])
20+ ```
21+
22+ After:
23+
24+ ``` php
25+ new UserTotpCode(message: 'The authentication code is invalid')
26+ ```
27+
1328
14296.x to 7.x
1530----------
You can’t perform that action at this time.
0 commit comments