diff options
author | Gaël James <gaeljames@gmail.com> | 2022-03-31 09:57:50 +0200 |
---|---|---|
committer | Gaël James <gaeljames@gmail.com> | 2022-03-31 09:57:50 +0200 |
commit | 09037baa7ce316a71ce835004709172d814c0f51 (patch) | |
tree | 9752e93b11a2f6849f10b49e79c94f585031f8f3 /bridge/gitlab | |
parent | 450d7f7ade2496d4ecb8ae6906f53134c96ca7fb (diff) | |
download | git-bug-09037baa7ce316a71ce835004709172d814c0f51.tar.gz |
Allow new gitlab PAT format
Diffstat (limited to 'bridge/gitlab')
-rw-r--r-- | bridge/gitlab/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/config.go b/bridge/gitlab/config.go index 4a714d09..c9d95adb 100644 --- a/bridge/gitlab/config.go +++ b/bridge/gitlab/config.go @@ -200,7 +200,7 @@ func promptToken(baseUrl string) (*auth.Token, error) { fmt.Println("'api' access scope: to be able to make api calls") fmt.Println() - re := regexp.MustCompile(`^[a-zA-Z0-9\-\_]{20}$`) + re := regexp.MustCompile(`^(glpat-)?[a-zA-Z0-9\-\_]{20}$`) var login string |