add csrf , product and account_state changes

csrf - previous settings were not working on dev1
product - allow sale  , if count > stock
prodcut - admin - allow search by name
account_state - auto sum up money from notes

add csrf , product and account_state changes

csrf - previous settings were not working on dev1
product - allow sale  , if count > stock
prodcut - admin - allow search by name
account_state - auto sum up money from notes
This commit is contained in:
2015-11-29 15:04:09 +01:00
parent a40cfb90d3
commit 09cd4660b8
7 changed files with 35 additions and 15 deletions

View File

@@ -17,7 +17,6 @@ return [
'request' => [
'csrfParam' => '_backendCSRF',
'csrfCookie' => [
'httpOnly' => true,
'path' => '/backend/web',
],
],
@@ -26,8 +25,7 @@ return [
'enableAutoLogin' => true,
'identityCookie' => [
'name' => '_backendUser', // unique for backend
'path'=>'/backend/web', // correct path for the backend app.
'httpOnly' => true,
// 'path' => '/backend/web',
]
],
'session' => [