I am trying to use AJAX calls to login and logout of my Rails app so
that the form renders in the side bar when you are not logged in, and
your “profile” renders if you are.
It all works, but when you logout, and try and log back in, you get
“ActionController::InvalidAuthenticityToken”, in the development.log.
What does this mean, I can’t figure out how to fix this??