mirror of
https://github.com/heartcombo/devise.git
synced 2026-02-19 02:44:31 -05:00
16 lines
365 B
Ruby
16 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
|