File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -46,32 +46,6 @@ access_denied_url
46
46
Defines the URL where the user is redirected after a ``403 `` HTTP error (unless
47
47
you define a custom access denial handler). Example: ``/no-permission ``
48
48
49
- erase_credentials
50
- -----------------
51
-
52
- **type **: ``boolean `` **default **: ``true ``
53
-
54
- If ``true ``, the ``eraseCredentials() `` method of the user object is called
55
- after authentication::
56
-
57
- use Symfony\Component\Security\Core\User\UserInterface;
58
-
59
- class User implements UserInterface
60
- {
61
- // ...
62
-
63
- public function eraseCredentials(): void
64
- {
65
- // If you store any temporary, sensitive data on the user, clear it here
66
- // $this->plainPassword = null;
67
- }
68
- }
69
-
70
- .. deprecated :: 7.3
71
-
72
- Since Symfony 7.3, ``eraseCredentials() `` methods are deprecated and are
73
- not called if they have the ``#[\Deprecated] `` attribute.
74
-
75
49
expose_security_errors
76
50
----------------------
77
51
You can’t perform that action at this time.
0 commit comments