mirror of https://github.com/mastodon/mastodon
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67dea31b0f
* Add spec coverage for settings/two_factor_auth area * extract setup method for qr code * Move otp required check to before action * Merge method only used once * Remove duplicate view * Consolidate creation of @codes for backup * Move settings/2fq#recovery_codes to settings/recovery_codes#create * Rename settings/two_factor_auth#disable to #destroy * Add coverage for the otp required path on 2fa#show * Clean up the recovery codes list styles * Move settings/two_factor_auth to settings/two_factor_authentication * Reorganize the settings two factor auth area Updated to use a flow like: - settings/two_factor_authentication goes to a #show view which has a button either enable or disable 2fa on the account - the disable button turns off the otp requirement for the user - the enable button cycles the user secret and redirects to a confirmation page - the confirmation page is a #new view which shows the QR code for user - that page posts to #create which verifies the code, and creates the recovery codes - that create action shares a view with a recovery codes controller which can be used separately to reset codes if needed |
8 years ago | |
---|---|---|
.. | ||
bg.yml | 8 years ago | |
de.yml | ||
devise.bg.yml | ||
devise.de.yml | ||
devise.en.yml | ||
devise.eo.yml | ||
devise.es.yml | ||
devise.fi.yml | ||
devise.fr.yml | ||
devise.hr.yml | ||
devise.hu.yml | ||
devise.id.yml | 8 years ago | |
devise.io.yml | 8 years ago | |
devise.it.yml | ||
devise.ja.yml | ||
devise.nl.yml | ||
devise.no.yml | ||
devise.pl.yml | ||
devise.pt-BR.yml | ||
devise.pt.yml | ||
devise.ru.yml | ||
devise.uk.yml | ||
devise.zh-CN.yml | ||
devise.zh-HK.yml | ||
devise.zh-TW.yml | ||
doorkeeper.bg.yml | ||
doorkeeper.de.yml | ||
doorkeeper.en.yml | ||
doorkeeper.eo.yml | ||
doorkeeper.es.yml | ||
doorkeeper.fi.yml | ||
doorkeeper.fr.yml | ||
doorkeeper.hr.yml | ||
doorkeeper.hu.yml | ||
doorkeeper.id.yml | 8 years ago | |
doorkeeper.io.yml | 8 years ago | |
doorkeeper.it.yml | ||
doorkeeper.ja.yml | ||
doorkeeper.nl.yml | ||
doorkeeper.no.yml | ||
doorkeeper.oc.yml | ||
doorkeeper.pl.yml | ||
doorkeeper.pt-BR.yml | ||
doorkeeper.pt.yml | ||
doorkeeper.ru.yml | ||
doorkeeper.uk.yml | ||
doorkeeper.zh-HK.yml | ||
doorkeeper.zh-TW.yml | ||
en.yml | 8 years ago | |
eo.yml | 8 years ago | |
es.yml | 8 years ago | |
fi.yml | 8 years ago | |
fr.yml | 8 years ago | |
hr.yml | 8 years ago | |
hu.yml | ||
id.yml | 8 years ago | |
io.yml | 8 years ago | |
it.yml | 8 years ago | |
ja.yml | 8 years ago | |
nl.yml | 8 years ago | |
no.yml | 8 years ago | |
oc.yml | 8 years ago | |
pl.yml | 8 years ago | |
pt-BR.yml | 8 years ago | |
pt.yml | 8 years ago | |
ru.yml | 8 years ago | |
simple_form.bg.yml | ||
simple_form.de.yml | ||
simple_form.en.yml | 8 years ago | |
simple_form.eo.yml | ||
simple_form.es.yml | ||
simple_form.fi.yml | ||
simple_form.fr.yml | ||
simple_form.hr.yml | 8 years ago | |
simple_form.hu.yml | ||
simple_form.id.yml | 8 years ago | |
simple_form.io.yml | 8 years ago | |
simple_form.it.yml | ||
simple_form.ja.yml | 8 years ago | |
simple_form.nl.yml | ||
simple_form.no.yml | ||
simple_form.oc.yml | ||
simple_form.pl.yml | ||
simple_form.pt-BR.yml | ||
simple_form.pt.yml | ||
simple_form.ru.yml | ||
simple_form.uk.yml | ||
simple_form.zh-CN.yml | ||
simple_form.zh-HK.yml | ||
simple_form.zh-TW.yml | ||
uk.yml | ||
zh-CN.yml | 8 years ago | |
zh-HK.yml | 8 years ago | |
zh-TW.yml | 8 years ago |