Skip to content

Instantly share code, notes, and snippets.

@HeshamMagdy97
Created August 5, 2019 23:33
Show Gist options
  • Save HeshamMagdy97/a95b568610113c212192e7fd137fca16 to your computer and use it in GitHub Desktop.
Save HeshamMagdy97/a95b568610113c212192e7fd137fca16 to your computer and use it in GitHub Desktop.
class User < ApplicationRecord
devise :database_authenticatable,
:jwt_authenticatable,
jwt_revocation_strategy: JWTBlacklist
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment