|
|
@ -8,8 +8,8 @@ class Auth::SessionsController < Devise::SessionsController
|
|
|
|
skip_before_action :require_no_authentication, only: [:create]
|
|
|
|
skip_before_action :require_no_authentication, only: [:create]
|
|
|
|
skip_before_action :check_suspension, only: [:destroy]
|
|
|
|
skip_before_action :check_suspension, only: [:destroy]
|
|
|
|
prepend_before_action :authenticate_with_two_factor, if: :two_factor_enabled?, only: [:create]
|
|
|
|
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_instance_presenter, only: [:new]
|
|
|
|
before_action :set_pack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def create
|
|
|
|
def create
|
|
|
|
super do |resource|
|
|
|
|
super do |resource|
|
|
|
|