allow anonymous SSH clone
This commit is contained in:
@ -624,7 +624,7 @@ func GetRepositoriesWithUsers(num, offset int) ([]*Repository, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
} else if !has {
|
||||
return nil, ErrUserNotExist
|
||||
return nil, ErrUserNotExist{repo.OwnerId, ""}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user