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/models/user.rb
parentcde474a49f0ff44350d813aba83b6880df960f15 (diff)
Fix rubocop complain
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index b9e28900187..befbcbf1a16 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -58,7 +58,7 @@ require 'file_size_validator'
class User < ActiveRecord::Base
devise :two_factor_authenticatable,
- :otp_secret_encryption_key => File.read(Rails.root.join('.secret')).chomp
+ otp_secret_encryption_key: File.read(Rails.root.join('.secret')).chomp
include Sortable
include Gitlab::ConfigHelper