mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
Add default session expiration
- Sets default cookie lifetime to use PHP.ini value. - Adds bn-ng-idle to handle idle user. - Sets default timeout to 3600 seconds to log the user out and redirect to the login page. - Displays a warning message to the user on session timeout. Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
7195848d86
commit
07cfbf4d37
7 changed files with 57 additions and 8 deletions
|
@ -5,6 +5,7 @@ framework:
|
|||
|
||||
# Note: Session will only be started if you read or write from it.
|
||||
session:
|
||||
cookie_lifetime: null
|
||||
handler_id: null
|
||||
cookie_secure: auto
|
||||
cookie_samesite: lax
|
||||
|
@ -13,4 +14,4 @@ framework:
|
|||
log: true
|
||||
|
||||
assets:
|
||||
base_path: '/public'
|
||||
base_path: '/public'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue