diff options
author | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-16 17:03:19 +0100 |
---|---|---|
committer | Francisco Lopez <fjlopez@gitlab.com> | 2017-11-17 10:02:11 +0100 |
commit | 1436598e49792b78f5f753477a9d8c097d666b99 (patch) | |
tree | 2c025f10d38aaa27d850092633933838e37ad8f5 /lib/gitlab/auth/request_authenticator.rb | |
parent | aa84ef1e1af0bac40279e02e4ce889cb660ed9d0 (diff) | |
download | gitlab-ce-1436598e49792b78f5f753477a9d8c097d666b99.tar.gz |
Moved Exceptions to Gitlab::Auth
Diffstat (limited to 'lib/gitlab/auth/request_authenticator.rb')
-rw-r--r-- | lib/gitlab/auth/request_authenticator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/request_authenticator.rb b/lib/gitlab/auth/request_authenticator.rb index 8316d0f40d5..4322fb83cdf 100644 --- a/lib/gitlab/auth/request_authenticator.rb +++ b/lib/gitlab/auth/request_authenticator.rb @@ -17,7 +17,7 @@ module Gitlab def find_sessionless_user find_user_from_access_token || find_user_from_rss_token - rescue API::APIGuard::AuthenticationException + rescue Gitlab::Auth::AuthenticationException nil end end |