Explorar o código

Setup remember me

jmontoyaa %!s(int64=8) %!d(string=hai) anos
pai
achega
09c51818a1
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      app/config/security.yml

+ 6 - 0
app/config/security.yml

@@ -65,6 +65,11 @@ security:
                 failure_path:   null
                 default_target_path: /admin
                 success_handler: chamilo_core.listener.login_success_handler
+                remember_me: true
+            remember_me:
+                secret:   '%secret%'
+                lifetime: 604800 # 1 week in seconds
+                path:     /
             logout:
                 path:   /logout
                 target: /
@@ -81,6 +86,7 @@ security:
                 failure_path:      /connect
                 use_forward:       false
 
+
                 oauth_user_provider:
                     service: chamilo_user_provider