0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 23:15:34 +01:00

bug fixed

This commit is contained in:
Lunny Xiao 2014-04-23 17:12:50 +08:00
parent dbdaf934e1
commit 683e58878a

View file

@ -159,7 +159,7 @@ func runServ(k *cli.Context) {
qlog.Fatal(err)
}
if !has {
has, err = models.HasAccess(user.Name, repoPath, models.AU_WRITABLE)
has, err = models.HasAccess(user.Name, path.Join(repoUserName, repoName), models.AU_WRITABLE)
if err != nil {
println("Internal error")
qlog.Fatal(err)