From 781ba54ef0b02112470036da5fde88a7dc782adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= Date: Fri, 10 Jan 2025 22:50:00 +0100 Subject: [PATCH] Fix URL to GitLab personal access tokens --- src/Composer/Util/GitLab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/GitLab.php b/src/Composer/Util/GitLab.php index 2f108bc5a..b727dd91b 100644 --- a/src/Composer/Util/GitLab.php +++ b/src/Composer/Util/GitLab.php @@ -163,7 +163,7 @@ class GitLab } $this->io->writeError('You can also manually create a personal access token enabling the "read_api" scope at:'); - $this->io->writeError($scheme.'://'.$originUrl.'/profile/personal_access_tokens'); + $this->io->writeError($personalAccessTokenLink); $this->io->writeError('Add it using "composer config --global --auth gitlab-token.'.$originUrl.' "'); continue;