|
|
@ -8,7 +8,6 @@ module Devise |
|
|
|
::Devise::Models.config(self, :login_code_random_pattern, :max_login_attempts) |
|
|
|
::Devise::Models.config(self, :login_code_random_pattern, :max_login_attempts) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
module InstanceMethods |
|
|
|
|
|
|
|
def need_two_factor_authentication? |
|
|
|
def need_two_factor_authentication? |
|
|
|
true |
|
|
|
true |
|
|
|
end |
|
|
|
end |
|
|
@ -27,4 +26,3 @@ module Devise |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|