Skip to content

Commit c1993e8

Browse files
authored
Fix invalid interface mention in security.rst
SerializableInterface doesn't exist, I assume it was meant to be https://www.php.net/manual/en/class.serializable.php, the motivation behind this change is described here https://stackoverflow.com/questions/42074225/symfony-userinterface-is-serializing-the-entire-massive-user-entity/71816482#71816482
1 parent 63e0e8f commit c1993e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2503,9 +2503,9 @@ 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. ``SerializableInterface``) on
2506+
In that case, review the serialization logic (e.g. ``\Serializable`` interface) on
25072507
you user class (if you have any) to make sure that all the fields necessary are
2508-
serialized.
2508+
serialized and also exclude all the fields not necessary to be serialized (relations).
25092509

25102510
Comparing Users Manually with EquatableInterface
25112511
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)