Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-28 03:54:44 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-10 00:31:10 +0300
commit50a2a229e7b8b789a199bd0cf84ce76d25201198 (patch)
tree6dcac7385d9fe4fa7ff2b6b4a30cd768afdba907 /app/controllers/profiles/two_factor_auths_controller.rb
parentcde474a49f0ff44350d813aba83b6880df960f15 (diff)
Fix rubocop complain
Diffstat (limited to 'app/controllers/profiles/two_factor_auths_controller.rb')
-rw-r--r--app/controllers/profiles/two_factor_auths_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/profiles/two_factor_auths_controller.rb b/app/controllers/profiles/two_factor_auths_controller.rb
index ac14d5ca75b..9b4070a76f7 100644
--- a/app/controllers/profiles/two_factor_auths_controller.rb
+++ b/app/controllers/profiles/two_factor_auths_controller.rb
@@ -11,7 +11,6 @@ class Profiles::TwoFactorAuthsController < ApplicationController
def create
if current_user.valid_otp?(params[:pin_code])
current_user.otp_required_for_login = true
- #current_user.otp_secret = User.generate_otp_secret
current_user.save!
redirect_to profile_account_path