disable csrf fix, fix account state javascript
disable csrf in frontend and backend reception account_state javascript fix
This commit is contained in:
@@ -13,6 +13,9 @@ return [
|
||||
'bootstrap' => ['log'],
|
||||
'controllerNamespace' => 'frontend\controllers',
|
||||
'components' => [
|
||||
'request' => [
|
||||
'enableCsrfValidation'=>false,
|
||||
],
|
||||
'user' => [
|
||||
'identityClass' => 'common\models\User',
|
||||
'enableAutoLogin' => true,
|
||||
|
||||
@@ -122,7 +122,7 @@ function AccountState(o){
|
||||
var money;
|
||||
money = accounting.formatNumber(app.money, 0, " "); // 9 876 543.210
|
||||
$('.money').html(money);
|
||||
$('#accountstate-money').val(money);
|
||||
$('#accountstate-money').val(app.money +"");
|
||||
}
|
||||
|
||||
function updateLastMoney(){
|
||||
|
||||
Reference in New Issue
Block a user