1
0
Fork 0
composer/tests
Ayesh Karunaratne 931a1ff1f8
AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
Previously, `AuthHelper` consumed the authentication credentials for GitLab domains and added access tokens as GitLab-specific headers.
[Composer repositories now supported in GitLab](https://php.watch/articles/composer-gitlab-repositories) require standard Authorization headers with a personal access to function, which failed to work due to out GitLab-specific headers.

With this commit, AuthHelper checks if the password is an access token, and falls through to HTTP basic authentication even if the domain name is a GitLab domain name.
2020-08-27 12:13:28 +07:00
..
Composer/Test AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth 2020-08-27 12:13:28 +07:00
bootstrap.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
complete.phpunit.xml Build tweaks 2020-05-20 16:20:54 +02:00