New answers tagged

1

In my case I was getting [error][yii\web\HttpException:400] yii\web\BadRequestHttpException: Unable to verify your data submission. in /app/vendor/yiisoft/yii2/web/Controller.php:218 on web.log This worked for me: clearing cookies on chrome chrome://settings/clearBrowserData then cleared caches craft clear-caches/all


1

You can use defaultCookieDomain config setting to make all Craft cookies use your root domain: // config/general.php // mind the dot at the start 'defaultCookieDomain' => '.mydomain.com', This ensures that Craft's cookies apply to both the root domain and the subdomain, so the login should persist.


Top 50 recent answers are included