devise-two-factor icon indicating copy to clipboard operation
devise-two-factor copied to clipboard

Generate numerical backup codes

Open jtrost opened this issue 6 years ago • 0 comments

I wanted the backup codes in my app to resemble one-time passwords. This pull request adds this functionality by passing an options hash to #generate_otp_backup_codes!. When the :numerical option is passed, backup codes will be generated that only contain digits.

jtrost avatar Jun 20 '18 14:06 jtrost