1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-30 07:49:04 +09:00
YuruToot/app/controllers/settings/two_factor_authentication
David Yip bf1eb0912c
Set packs on 2FA-related pages. Fixes #271.
Specifically, this commit:

- changes S::TFA::{Confirmations,RecoveryCodes}Controller to derive from
  S::BaseController, because this gives us the necessary actions and
  packs
- prepends set_pack to Auth::SessionsController's action chain so that
  it takes effect in time for render :two_factor
2017-12-20 03:15:54 -06:00
..
confirmations_controller.rb Set packs on 2FA-related pages. Fixes #271. 2017-12-20 03:15:54 -06:00
recovery_codes_controller.rb Set packs on 2FA-related pages. Fixes #271. 2017-12-20 03:15:54 -06:00