diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-23 17:12:50 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-04-23 17:12:50 +0800 |
commit | 683e58878a3f1a36db29a252dd6ba0551210b1c1 (patch) | |
tree | 7bf663b066d877aeb31bd9dba98358edbdacc65a /serve.go | |
parent | dbdaf934e1b8fab06361266268bb55d30b352f37 (diff) | |
download | gitea-683e58878a3f1a36db29a252dd6ba0551210b1c1.tar.gz gitea-683e58878a3f1a36db29a252dd6ba0551210b1c1.zip |
bug fixed
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |