mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
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