mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 23:34:36 +01:00
bug fixed
This commit is contained in:
parent
7c6ec5332c
commit
8c63169718
1 changed files with 0 additions and 1 deletions
1
serve.go
1
serve.go
|
@ -131,7 +131,6 @@ func runServ(k *cli.Context) {
|
||||||
// access check
|
// access check
|
||||||
switch {
|
switch {
|
||||||
case isWrite:
|
case isWrite:
|
||||||
println(user.Name, repoName, models.AU_WRITABLE)
|
|
||||||
has, err := models.HasAccess(user.Name, repoName, models.AU_WRITABLE)
|
has, err := models.HasAccess(user.Name, repoName, models.AU_WRITABLE)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
println("Inernel error:", err)
|
println("Inernel error:", err)
|
||||||
|
|
Loading…
Reference in a new issue