This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Litte bug fix
tags/v1.2.0-rc1
Unknown
12 years ago
parent
5ed5aa5228
commit
b0084b1adc
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
gogs.go
+1
-1
modules/middleware/repo.go
+ 1
- 1
gogs.go
View File
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/base"
)
const APP_VER = "0.3.4.051
3
Alpha"
const APP_VER = "0.3.4.051
4
Alpha"
func init() {
base.AppVer = APP_VER
+ 1
- 1
modules/middleware/repo.go
View File
@@ -100,7 +100,7 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
}
// Check if the mirror repository owner(mirror repository doesn't have access).
if !ctx.Repo.IsOwner && repo.OwnerId == ctx.User.Id {
if
ctx.IsSigned &&
!ctx.Repo.IsOwner && repo.OwnerId == ctx.User.Id {
ctx.Repo.IsOwner = true
}
Write
Preview
Loading…
Cancel
Save