Skip to content

Instantly share code, notes, and snippets.

@HeshamMagdy97
Last active August 5, 2019 23:41
Show Gist options
  • Save HeshamMagdy97/29f895d10808f23b5e4c40affad4ade7 to your computer and use it in GitHub Desktop.
Save HeshamMagdy97/29f895d10808f23b5e4c40affad4ade7 to your computer and use it in GitHub Desktop.
class JWTBlacklist < ApplicationRecord
include Devise::JWT::RevocationStrategies::Blacklist
self.table_name = 'jwt_blacklist'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment