Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled (#1278)
* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
Showing
- app/assets/stylesheets/forms.scss 19 additions, 0 deletionsapp/assets/stylesheets/forms.scss
- app/controllers/settings/two_factor_auths_controller.rb 30 additions, 9 deletionsapp/controllers/settings/two_factor_auths_controller.rb
- app/models/form/two_factor_confirmation.rb 7 additions, 0 deletionsapp/models/form/two_factor_confirmation.rb
- app/views/settings/two_factor_auths/new.html.haml 17 additions, 0 deletionsapp/views/settings/two_factor_auths/new.html.haml
- app/views/settings/two_factor_auths/show.html.haml 3 additions, 10 deletionsapp/views/settings/two_factor_auths/show.html.haml
- config/locales/en.yml 10 additions, 6 deletionsconfig/locales/en.yml
- config/navigation.rb 1 addition, 1 deletionconfig/navigation.rb
- config/routes.rb 1 addition, 2 deletionsconfig/routes.rb
app/models/form/two_factor_confirmation.rb
0 → 100644
Please register or sign in to comment