diff options
author | Michael Muré <batolettre@gmail.com> | 2022-04-19 21:53:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 21:53:52 +0200 |
commit | a00f1a98972239c4a57cc126e9b41e6c4c53b023 (patch) | |
tree | 9343649a23e29d9979036e8d15b76defdbf9ae44 | |
parent | b8a799a97d1f3b743b19a9619785497706166a50 (diff) | |
parent | 09037baa7ce316a71ce835004709172d814c0f51 (diff) | |
download | git-bug-a00f1a98972239c4a57cc126e9b41e6c4c53b023.tar.gz |
Merge pull request #773 from gaelj/fix-gitlab-pat-format
Allow new gitlab PAT format
-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 |