Browse Source

Only max_login_attempts is now configurable.

master
Matt Mueller 11 years ago
parent
commit
b4e8138b5a
  1. 2
      lib/two_factor_authentication/models/two_factor_authenticatable.rb

2
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

Loading…
Cancel
Save