diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-02-28 13:12:11 +0300 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-03-06 17:41:50 +0300 |
commit | 8a9bc24ef87739580c19ee8455bd8224d3c18b3e (patch) | |
tree | 1c5a0718478064c1c8316f6d0817762dcfd38a31 /lib/gitlab/auth | |
parent | 98bd48c66bd45241d857528791f4e2dd21bfc17a (diff) |
align schema.rb with upstream and fix rubocop warning about not freezing mutable constants and empty error classes
Diffstat (limited to 'lib/gitlab/auth')
-rw-r--r-- | lib/gitlab/auth/unique_ips_limiter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/unique_ips_limiter.rb b/lib/gitlab/auth/unique_ips_limiter.rb index 7b1aa736769..4d401eb1b5d 100644 --- a/lib/gitlab/auth/unique_ips_limiter.rb +++ b/lib/gitlab/auth/unique_ips_limiter.rb @@ -1,7 +1,7 @@ module Gitlab module Auth class UniqueIpsLimiter - USER_UNIQUE_IPS_PREFIX = 'user_unique_ips' + USER_UNIQUE_IPS_PREFIX = 'user_unique_ips'.freeze class << self def limit_user_id!(user_id) |