Skip to content

Commit

Permalink
chore: update jwt configuration (#1807)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
divine authored Oct 16, 2023
1 parent a6bffb0 commit d8517ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/jwt.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ security:
entity:
class: App\Entity\User
property: email
# document:
# mongodb:
# class: App\Document\User
# property: email

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

0 comments on commit d8517ff

Please sign in to comment.