summaryrefslogtreecommitdiff
path: root/lib/gitlab/auth/request_authenticator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/auth/request_authenticator.rb')
-rw-r--r--lib/gitlab/auth/request_authenticator.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/auth/request_authenticator.rb b/lib/gitlab/auth/request_authenticator.rb
index 176766d1a8b..aca8804b04c 100644
--- a/lib/gitlab/auth/request_authenticator.rb
+++ b/lib/gitlab/auth/request_authenticator.rb
@@ -24,7 +24,9 @@ module Gitlab
end
def find_sessionless_user(request_format)
- find_user_from_web_access_token(request_format) || find_user_from_feed_token(request_format)
+ find_user_from_web_access_token(request_format) ||
+ find_user_from_feed_token(request_format) ||
+ find_user_from_static_object_token(request_format)
rescue Gitlab::Auth::AuthenticationError
nil
end