mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-18 17:00:02 +02:00
allow anonymous SSH clone
This commit is contained in:
parent
487fc8ca39
commit
e50982f5ec
20 changed files with 109 additions and 92 deletions
|
@ -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, ""}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue