Closed nadar closed 3 years ago
Since ActiveForm is widely used in Yii Framework context, the property autoRegisterCsrf should be disabled by default instead of enabled.
autoRegisterCsrf
This means that forms which do not use ActiveForm needs to run luya\helpers\Html::csrfMetaTags().
luya\helpers\Html::csrfMetaTags()
In order to restore the previous behavior, use in your config:
$config->webComponent('view', [ 'autoRegisterCsrf' => true, ]);
Since ActiveForm is widely used in Yii Framework context, the property
autoRegisterCsrf
should be disabled by default instead of enabled.This means that forms which do not use ActiveForm needs to run
luya\helpers\Html::csrfMetaTags()
.