forked from x/icebergs
fix git.status
This commit is contained in:
parent
a4573dd54a
commit
0b042abfbe
@ -146,7 +146,7 @@ func _repos_auth(m *ice.Message, origin string) *http.BasicAuth {
|
||||
list, ok := m.Optionv("repos.auth").(map[string]*url.URL)
|
||||
kit.If(!ok, func() { list = _repos_credentials(m) })
|
||||
if u, ok := list[kit.ParseURL(_repos_remote(m, origin)).Host]; !ok {
|
||||
return nil
|
||||
return &http.BasicAuth{}
|
||||
} else if password, ok := u.User.Password(); !ok {
|
||||
return nil
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user