Skip to content

Commit d8517ff

Browse files
authored
chore: update jwt configuration (#1807)
Unrecognized option document under security.providers.users Available options are chain, entity, id, ldap, lexik_jwt, memory, mongodb. Since symfony/security-bundle 6.2: The "enable_authenticator_manager" option at "security" is deprecated.
1 parent a6bffb0 commit d8517ff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/jwt.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ security:
7373
entity:
7474
class: App\Entity\User
7575
property: email
76-
# document:
76+
# mongodb:
7777
# class: App\Document\User
7878
# property: email
7979

@@ -124,9 +124,6 @@ security:
124124
# https://symfony.com/doc/current/security.html#c-hashing-passwords
125125
password_hashers:
126126
App\Entity\User: 'auto'
127-
128-
# https://symfony.com/doc/current/security/authenticator_manager.html
129-
enable_authenticator_manager: true
130127
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
131128
providers:
132129
# used to reload user from session & other features (e.g. switch_user)

0 commit comments

Comments
 (0)