mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 18:04:15 +02:00
persisting repository hostname to database
This commit is contained in:
parent
d84b1ac3e4
commit
289312b678
@ -105,7 +105,7 @@ func (h *LoginHandler) GetLogin(w http.ResponseWriter, r *http.Request) error {
|
||||
for _, remoteRepo := range repos {
|
||||
repo, _ := repo.New(remote.GetName(), remoteRepo.Owner, remoteRepo.Name)
|
||||
repo.Private = remoteRepo.Private
|
||||
// TODO set the repo.Host
|
||||
repo.Host = remoteRepo.Host
|
||||
repo.CloneURL = remoteRepo.Clone
|
||||
repo.GitURL = remoteRepo.Git
|
||||
repo.SSHURL = remoteRepo.SSH
|
||||
|
Loading…
x
Reference in New Issue
Block a user