mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-06 03:01:21 -04:00
Clean up the code.
This commit is contained in:
13
test/rails_app/lib/shared_user_without_omniauth.rb
Normal file
13
test/rails_app/lib/shared_user_without_omniauth.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
module SharedUserWithoutOmniauth
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
devise :database_authenticatable, :confirmable, :lockable, :recoverable,
|
||||
:registerable, :rememberable, :timeoutable,
|
||||
:trackable, :validatable
|
||||
end
|
||||
|
||||
def raw_confirmation_token
|
||||
@raw_confirmation_token
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user