fixup for 2fa auth in gitea

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-04-03 17:29:57 +03:00
parent bf99e383e3
commit ae246907c9
12 changed files with 1101 additions and 94 deletions

View File

@@ -9,12 +9,14 @@ import (
)
type Gitlab struct {
Token string
Username string
Password string
}
func NewGitlab(cfg configcli.Config) *Gitlab {
return &Gitlab{
Token: cfg.Source.Token,
Username: cfg.Source.Username,
Password: cfg.Source.Password,
}
}