Skip to content

Instantly share code, notes, and snippets.

@mazikwyry
Last active June 13, 2017 07:32
Show Gist options
  • Save mazikwyry/e2b46a55f7f811b3e2a6c7f13befdf06 to your computer and use it in GitHub Desktop.
Save mazikwyry/e2b46a55f7f811b3e2a6c7f13befdf06 to your computer and use it in GitHub Desktop.
User model
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