app/models/ibrain/auth/user.rb in ibrain-auth-0.1.0 vs app/models/ibrain/auth/user.rb in ibrain-auth-0.1.1
- old
+ new
@@ -1,9 +1,11 @@
# frozen_string_literal: true
module Ibrain
module Auth
class User < Ibrain::Base
+ self.table_name = Ibrain::Auth::Config.user_table_name
+
include Devise::JWT::RevocationStrategies::JTIMatcher
devise :database_authenticatable, :registerable,
:recoverable, :validatable,
:jwt_authenticatable, jwt_revocation_strategy: self