Skip to content

Instantly share code, notes, and snippets.

@mazikwyry
Created June 13, 2017 07:29
Show Gist options
  • Save mazikwyry/e1a74280dc72c493a884025e44b95c2e to your computer and use it in GitHub Desktop.
Save mazikwyry/e1a74280dc72c493a884025e44b95c2e to your computer and use it in GitHub Desktop.
class JWTBlacklist < ApplicationRecord
include Devise::JWT::RevocationStrategies::Blacklist
self.table_name = 'jwt_blacklist'
end
@Reznov9185
Copy link

Blacklist is now Denylist :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment