diff --git a/lib/two_factor_authentication/models/two_factor_authenticatable.rb b/lib/two_factor_authentication/models/two_factor_authenticatable.rb index 450c58c..8b9cbca 100644 --- a/lib/two_factor_authentication/models/two_factor_authenticatable.rb +++ b/lib/two_factor_authentication/models/two_factor_authenticatable.rb @@ -20,7 +20,7 @@ module Devise end end end - ::Devise::Models.config(self, :login_code_random_pattern, :max_login_attempts) + ::Devise::Models.config(self, :max_login_attempts) end module InstanceMethodsOnActivation