I just installed Craft CMS 3 and I tried logging in as my admin user but it's not working. I enter the correct login information and nothing happens. I tried the reset password option but never got the email for some reason. Anyone have any ideas what is going on?
In case someone else is struggling with this: For development purposes I usually install Craft taking a subdomain. So my base domain "name.com" has an SSL certificate, the subdomain "sub.name.com" doesn't - that's causing the same problem. Just add a SSL certificate to the subdomain aswell and it should be working fine. Hope it's helping someone some day. :-)
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
- then cleared caches