aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/gitlab/config.go')
-rw-r--r--bridge/gitlab/config.go2
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