Skip to content

Generate numerical backup codes#132

Open
jtrost wants to merge 1 commit intodevise-two-factor:mainfrom
trilogyinteractive:numerical-backup-codes
Open

Generate numerical backup codes#132
jtrost wants to merge 1 commit intodevise-two-factor:mainfrom
trilogyinteractive:numerical-backup-codes

Conversation

@jtrost
Copy link

@jtrost jtrost commented Jun 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments