mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-22 13:18:05 -05:00
Only execute the `SessionsController#destroy` if there is a signed in user, otherwise it will raise `ActionController::InvalidAuthenticityToken`. Fixes #2934.