File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
src/Symfony/Component/Security Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,9 @@ Security
344
344
345
345
* The `GuardAuthenticatorInterface` has been deprecated and will be removed in 4.0.
346
346
Use `AuthenticatorInterface` instead.
347
+
348
+ * When extending `AbstractGuardAuthenticator` it's deprecated to return `null` from `getCredentials()`.
349
+ Return `false` from `supports()` if no credentials available.
347
350
348
351
SecurityBundle
349
352
--------------
Original file line number Diff line number Diff line change @@ -758,6 +758,9 @@ Security
758
758
759
759
* The `GuardAuthenticatorInterface` interface has been removed.
760
760
Use `AuthenticatorInterface` instead.
761
+
762
+ * When extending `AbstractGuardAuthenticator` getCredentials() cannot return
763
+ ` null` anymore, return false from `supports()` if no credentials available instead.
761
764
762
765
SecurityBundle
763
766
--------------
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ CHANGELOG
16
16
* deprecated HTTP digest authentication
17
17
* Added a new password encoder for the Argon2i hashing algorithm
18
18
* deprecated ` GuardAuthenticatorInterface ` in favor of ` AuthenticatorInterface `
19
+ * deprecated to return ` null ` from ` getCredentials() ` in classes that extend
20
+ ` AbstractGuardAuthenticator ` . Return ` false ` from ` supports() ` instead.
19
21
20
22
3.3.0
21
23
-----
You can’t perform that action at this time.
0 commit comments