mirror of
https://gitee.com/gitea/gitea
synced 2025-11-15 14:00:26 +08: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