]> cat aescling's git repositories - mastodon.git/commit
Fix #3910 - Require OTP authentication to disable 2FA (#3935)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 25 Jun 2017 21:51:46 +0000 (23:51 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Jun 2017 21:51:46 +0000 (23:51 +0200)
commit5e8d037e271bdd230fc7ab1e91bcee16ac87e0e1
tree15ce1a2f4eadd543713f326a7384432e816a8fa0
parented7dc1704dc3ce82567d9aac366b095f02ce181f
Fix #3910 - Require OTP authentication to disable 2FA (#3935)

* Fix #3910 - Require OTP authentication to disable 2FA. Also, remove ability
to generate new OTP backup codes *after* initial backup codes were handed
out during activation

* Restore recovery code re-generation

* Improve display of some 2FA elements
27 files changed:
app/controllers/settings/two_factor_authentications_controller.rb
app/javascript/styles/admin.scss
app/javascript/styles/forms.scss
app/javascript/styles/lists.scss
app/views/settings/two_factor_authentication/recovery_codes/index.html.haml
app/views/settings/two_factor_authentications/show.html.haml
config/locales/ca.yml
config/locales/de.yml
config/locales/en.yml
config/locales/fa.yml
config/locales/fr.yml
config/locales/he.yml
config/locales/id.yml
config/locales/io.yml
config/locales/ja.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/oc.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/ru.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/zh-CN.yml
config/locales/zh-HK.yml
spec/controllers/settings/two_factor_authentications_controller_spec.rb