Explorar o código

Security recipe

François Drouhard %!s(int64=2) %!d(string=hai) anos
pai
achega
cce53d567c
Modificáronse 2 ficheiros con 9 adicións e 9 borrados
  1. 5 5
      config/packages/security.yaml
  2. 4 4
      symfony.lock

+ 5 - 5
config/packages/security.yaml

@@ -36,14 +36,14 @@ security:
                 path: app_logout
                 target: app_login
             custom_authenticator: App\Security\LoginFormAuthenticator
+            #lazy: true
+            #provider: users_in_memory
 
             # activate different ways to authenticate
+            # https://symfony.com/doc/current/security.html#the-firewall
 
-            # http_basic: true
-            # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
-
-            # form_login: true
-            # https://symfony.com/doc/current/security/form_login_setup.html
+            # https://symfony.com/doc/current/security/impersonating_user.html
+            # switch_user: true
 
     # Easy way to control access for large sections of your site
     # Note: Only the *first* access control that matches will be used

+ 4 - 4
symfony.lock

@@ -466,12 +466,12 @@
         ]
     },
     "symfony/security-bundle": {
-        "version": "3.3",
+        "version": "5.4",
         "recipe": {
             "repo": "github.com/symfony/recipes",
-            "branch": "master",
-            "version": "3.3",
-            "ref": "f8a63faa0d9521526499c0a8f403c9964ecb0527"
+            "branch": "main",
+            "version": "5.3",
+            "ref": "98f1f2b0d635908c2b40f3675da2d23b1a069d30"
         },
         "files": [
             "config/packages/security.yaml"