diff options
Diffstat (limited to 'app/controllers/admin/sessions_controller.rb')
-rw-r--r-- | app/controllers/admin/sessions_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/sessions_controller.rb b/app/controllers/admin/sessions_controller.rb index 9c378f4c883..63579421573 100644 --- a/app/controllers/admin/sessions_controller.rb +++ b/app/controllers/admin/sessions_controller.rb @@ -68,7 +68,7 @@ class Admin::SessionsController < ApplicationController def valid_otp_attempt?(user) otp_validation_result = - ::Users::ValidateOtpService.new(user).execute(user_params[:otp_attempt]) + ::Users::ValidateManualOtpService.new(user).execute(user_params[:otp_attempt]) valid_otp_attempt = otp_validation_result[:status] == :success return valid_otp_attempt if Gitlab::Database.read_only? |