mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
cf79f573e7
commit
d00650bbb0
@ -475,7 +475,7 @@ func init() {
|
||||
if insteadof != "" {
|
||||
remoteURL = insteadof + path.Base(remoteURL)
|
||||
}
|
||||
if u, ok := list[kit.ParseURL(value[ORIGIN]).Host]; !ok {
|
||||
if u, ok := list[kit.ParseURL(remoteURL).Host]; !ok {
|
||||
return errors.New("not found userinfo")
|
||||
} else if password, ok := u.User.Password(); !ok {
|
||||
return errors.New("not found password")
|
||||
|
Loading…
x
Reference in New Issue
Block a user