mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
15 lines
365 B
Ruby
15 lines
365 B
Ruby
# frozen_string_literal: true
|
|
|
|
module SharedUserWithoutOmniauth
|
|
extend ActiveSupport::Concern
|
|
|
|
included do
|
|
devise :database_authenticatable, :confirmable, :lockable, :recoverable,
|
|
:registerable, :rememberable, :timeoutable,
|
|
:trackable, :validatable, reconfirmable: false
|
|
end
|
|
|
|
def raw_confirmation_token
|
|
@raw_confirmation_token
|
|
end
|
|
end
|