InvalidAuthenticityToken in Devise::SessionsController#destroy (sign out after already having signed out)
问题 I am using Devise 3.2.0 for authentication and found an issue when I do the following: tab 1: sign in to app tab 2: go to any page in the app tab 2: sign out (success) tab 1: sign out (failure - see exception below) Exception raised: ActionController::InvalidAuthenticityToken in Devise::SessionsController#destroy In the development log I see: Can't verify CSRF token authenticity And the top three lines of the stack trace are: ActionController::InvalidAuthenticityToken (ActionController: