summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-10 19:13:47 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-10 19:13:47 -0400
commit19b897e998d4b376390a3e0c12ccac4d1e92597d (patch)
tree88dd0581626eb1ea0e165208e4d65160e00194d6
parent11989d62d09a628015c68c161898dfabcd966825 (diff)
downloadgitlab-ce-19b897e998d4b376390a3e0c12ccac4d1e92597d.tar.gz
Remove extra `devise` call that got added by accident
-rw-r--r--app/models/user.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index b45c7f20e52..aeab503297c 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -62,9 +62,6 @@ require 'carrierwave/orm/activerecord'
require 'file_size_validator'
class User < ActiveRecord::Base
- devise :two_factor_authenticatable,
- otp_secret_encryption_key: File.read(Rails.root.join('.secret')).chomp
-
include Sortable
include Gitlab::ConfigHelper
include TokenAuthenticatable