A module for devise to revoke sessions.
This is borrowed heavily from: https://github.com/mkhairi/devise_revocable and https://www.jonathanleighton.com/articles/2013/revocable-sessions-with-devise/
Add this line to your application's Gemfile:
gem 'devise_revocable_session'
And then execute:
$ bundle
Or install it yourself as:
$ gem install devise_revocable_session
Install using the generator
$ rails g devise_revocable_sessions
Add :revocable_session
to your model's devise declaration
Bug reports and pull requests are welcome on GitHub at https://github.com/carlallen/devise_revocable_session. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.