Commit 19b897e9 authored by Robert Speicher's avatar Robert Speicher

Remove extra `devise` call that got added by accident

parent 11989d62
...@@ -62,9 +62,6 @@ require 'carrierwave/orm/activerecord' ...@@ -62,9 +62,6 @@ require 'carrierwave/orm/activerecord'
require 'file_size_validator' require 'file_size_validator'
class User < ActiveRecord::Base class User < ActiveRecord::Base
devise :two_factor_authenticatable,
otp_secret_encryption_key: File.read(Rails.root.join('.secret')).chomp
include Sortable include Sortable
include Gitlab::ConfigHelper include Gitlab::ConfigHelper
include TokenAuthenticatable include TokenAuthenticatable
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment