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:
authorFrancisco Lopez <fjlopez@gitlab.com>2017-11-16 19:03:19 +0300
committerFrancisco Lopez <fjlopez@gitlab.com>2017-11-17 12:02:11 +0300
commit1436598e49792b78f5f753477a9d8c097d666b99 (patch)
tree2c025f10d38aaa27d850092633933838e37ad8f5 /lib/api/helpers.rb
parentaa84ef1e1af0bac40279e02e4ce889cb660ed9d0 (diff)
Moved Exceptions to Gitlab::Auth
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r--lib/api/helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb
index 09e9753b010..b26c61ab8da 100644
--- a/lib/api/helpers.rb
+++ b/lib/api/helpers.rb
@@ -398,7 +398,7 @@ module API
begin
@initial_current_user = Gitlab::Auth::UniqueIpsLimiter.limit_user! { find_current_user! }
- rescue Gitlab::Auth::UserAuthFinders::UnauthorizedError
+ rescue Gitlab::Auth::UnauthorizedError
unauthorized!
end
end