diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index cc9d30d64d5..e72b003f86f 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -1,5 +1,5 @@ class SessionsController < Devise::SessionsController - prepend_before_filter :two_factor_enabled?, only: :create + prepend_before_action :two_factor_enabled?, only: :create def new redirect_path =