diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-12-21 08:30:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 08:30:05 -0500 |
commit | 4d34b3495df0c915d8a80978d62d8d42e1e2f307 (patch) | |
tree | 4678f85ac5f66d3824d88bd76c8d3a139b9e5d50 /app/controllers/auth | |
parent | 00d1f8eea1b402f073836bb9b5b99d7207bc4892 (diff) | |
parent | a1ddc89da611598b2af9feb92ee9f1393944ceb9 (diff) |
Merge pull request #274 from glitch-soc/fix-packs-on-2fa-pages
Set packs on 2FA-related pages. Fixes #271.
Diffstat (limited to 'app/controllers/auth')
-rw-r--r-- | app/controllers/auth/sessions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb index 72d544102..f45d77b88 100644 --- a/app/controllers/auth/sessions_controller.rb +++ b/app/controllers/auth/sessions_controller.rb @@ -8,8 +8,8 @@ class Auth::SessionsController < Devise::SessionsController skip_before_action :require_no_authentication, only: [:create] skip_before_action :check_suspension, only: [:destroy] prepend_before_action :authenticate_with_two_factor, if: :two_factor_enabled?, only: [:create] + prepend_before_action :set_pack before_action :set_instance_presenter, only: [:new] - before_action :set_pack def create super do |resource| |