CSRF check failed on login

It stops working if you put the line