summaryrefslogtreecommitdiff
path: root/lib/api/helpers/packages/basic_auth_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/packages/basic_auth_helpers.rb')
-rw-r--r--lib/api/helpers/packages/basic_auth_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/helpers/packages/basic_auth_helpers.rb b/lib/api/helpers/packages/basic_auth_helpers.rb
index e35a8712131..0784efc11d6 100644
--- a/lib/api/helpers/packages/basic_auth_helpers.rb
+++ b/lib/api/helpers/packages/basic_auth_helpers.rb
@@ -7,8 +7,8 @@ module API
extend ::Gitlab::Utils::Override
module Constants
- AUTHENTICATE_REALM_HEADER = 'Www-Authenticate: Basic realm'
- AUTHENTICATE_REALM_NAME = 'GitLab Packages Registry'
+ AUTHENTICATE_REALM_HEADER = 'WWW-Authenticate'
+ AUTHENTICATE_REALM_NAME = 'Basic realm="GitLab Packages Registry"'
end
include Constants