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:
@@ -1,14 +1,7 @@
|
||||
require 'shared_user'
|
||||
require 'shared_user_without_omniauth'
|
||||
|
||||
class UserWithoutConfirmation < ActiveRecord::Base
|
||||
self.table_name = 'users'
|
||||
include Shim
|
||||
|
||||
devise :database_authenticatable, :confirmable, :lockable, :recoverable,
|
||||
:registerable, :rememberable, :timeoutable,
|
||||
:trackable, :validatable
|
||||
|
||||
def raw_confirmation_token
|
||||
@raw_confirmation_token
|
||||
end
|
||||
include SharedUserWithoutOmniauth
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user