feat: minimal locally stored user entity
This commit is contained in:
@@ -4,8 +4,10 @@ security:
|
||||
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
|
||||
# https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider
|
||||
providers:
|
||||
bpn_user_provider:
|
||||
id: App\BusProNet\Security\UserProvider
|
||||
app_user_provider:
|
||||
entity:
|
||||
class: App\Entity\User
|
||||
property: email
|
||||
firewalls:
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
@@ -18,9 +20,9 @@ security:
|
||||
- App\Security\ApiKeyAuthenticator
|
||||
main:
|
||||
lazy: true
|
||||
provider: bpn_user_provider
|
||||
provider: app_user_provider
|
||||
custom_authenticator:
|
||||
App\BusProNet\Security\Authenticator
|
||||
App\Security\BpnAuthenticator
|
||||
logout:
|
||||
path: app_logout
|
||||
target: app_login
|
||||
|
||||
Reference in New Issue
Block a user