two_factor_authentication
two_factor_authentication copied to clipboard
Two factor authentication extension for Devise
Deacuerdo a la actualizacion de rails 6, los metodos update_atrributes quedaran deprecados, se hizo el cambio en esta gema para fixear temporalmente este punto de seguridad.
On Ruby versions 3.2 and greater, exists? is deprecated and has been replace with exist? Without this fix, the rails g two_factor_authentication MODEL generator will fail with: undefined method `exists?'...
Changed the method name _decode_salt_if_encoded_ from **EncryptionInstanceMethods** module. Same method name is used in attr_encrypted gem with two arguments, and hence its raising exception.
The last commit to master was 2019-07-25 and there are lots of open PRs that haven't been acknowledged, https://github.com/Houdini/two_factor_authentication/pull/188 in particular. Additionally there is no activity in the Gitter chat....
This branch allows for automatically resetting the second_factor_attmpts_count after a configurable timeout period set on `lockout_reset_timeout`.
This PR improves configuration options by adding an ability for more "dynamic" configuration - use lambda function to configure `otp_secret_encryption_key` (i.e. if encryption key is known in runtime) - add...
The gem automatically creates migration file with this index: ```ruby ... add_index :users, :encrypted_otp_secret_key, unique: true ... ``` It's not a big deal really. Just can't undestand why do we...