Skip to content

Commit 6e7b827

Browse files
committed
No longer mention a deprecated interface
1 parent c1993e8 commit 6e7b827

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

security.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2503,9 +2503,10 @@ However, in some cases, this process can cause unexpected authentication problem
25032503
If you're having problems authenticating, it could be that you *are* authenticating
25042504
successfully, but you immediately lose authentication after the first redirect.
25052505

2506-
In that case, review the serialization logic (e.g. ``\Serializable`` interface) on
2507-
you user class (if you have any) to make sure that all the fields necessary are
2508-
serialized and also exclude all the fields not necessary to be serialized (relations).
2506+
In that case, review the serialization logic (e.g. the ``__serialize()`` or
2507+
``serialize()`` methods) on you user class (if you have any) to make sure
2508+
that all the fields necessary are serialized and also exclude all the
2509+
fields not necessary to be serialized (e.g. Doctrine relations).
25092510

25102511
Comparing Users Manually with EquatableInterface
25112512
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)