Skip to content

Instantly share code, notes, and snippets.

@johnnytomcat
Created August 21, 2018 20:21
Show Gist options
  • Save johnnytomcat/780fddb98d25cd18c153de2963fcd9b4 to your computer and use it in GitHub Desktop.
Save johnnytomcat/780fddb98d25cd18c153de2963fcd9b4 to your computer and use it in GitHub Desktop.
# frozen_string_literal: true
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :invitable, :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable,
:jwt_authenticatable, jwt_revocation_strategy: Devise::JWT::RevocationStrategies::Null
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment