This website works better with JavaScript.
Explore
Help
Sign In
MetuFSS
/
metu.life
Watch
2
Star
1
Fork
You've already forked metu.life
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2258
Commits
1
Branch
0
Tags
134 MiB
Tag:
Branch:
Tree:
fa08b5079d
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'fa08b5079d'
${ noResults }
metu.life
/
app
/
views
/
settings
/
two_factor_auths
/
recovery_codes.html.haml
5 lines
90 B
Raw
Normal View
History
Unescape
Escape
Add recovery code support for two-factor auth (#1773) * Add recovery code support for two-factor auth When users enable two-factor auth, the app now generates ten single-use recovery codes. Users are encouraged to print the codes and store them in a safe place. The two-factor prompt during login now accepts both OTP codes and recovery codes. The two-factor settings UI allows users to regenerated lost recovery codes. Users who have set up two-factor auth prior to this feature being added can use it to generate recovery codes for the first time. Fixes #563 and fixes #987 * Set OTP_SECRET in test enviroment * add missing .html to view file names
8 years ago
- content_for :page_title do
= t('settings.two_factor_auth')
= render 'recovery_codes'