Search code examples
adminer

Invalid CSRF token. Send the form again. Adminer


I am getting this error on export of my database in adminer. Error: Invalid CSRF token. Send the form again. If you did not send this request from Adminer then close this page. Need Help


Solution

  • The problem for me was that the session cookie had the secure flag, while I was accessing adminer via http only (not https).


    Our nginx configuration had

    fastcgi_param HTTPS on;
    

    which I had to remove.