mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	fix #2360
This commit is contained in:
		
							
								
								
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gogs.go
									
									
									
									
									
								
							| @@ -17,7 +17,7 @@ import ( | |||||||
| 	"github.com/gogits/gogs/modules/setting" | 	"github.com/gogits/gogs/modules/setting" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| const APP_VER = "0.8.17.0107" | const APP_VER = "0.8.17.0108" | ||||||
|  |  | ||||||
| func init() { | func init() { | ||||||
| 	runtime.GOMAXPROCS(runtime.NumCPU()) | 	runtime.GOMAXPROCS(runtime.NumCPU()) | ||||||
|   | |||||||
| @@ -209,7 +209,7 @@ func RegisterRoutes(m *macaron.Macaron) { | |||||||
| 				m.Group("/:username", func() { | 				m.Group("/:username", func() { | ||||||
| 					m.Combo("").Patch(bind(api.EditUserOption{}), admin.EditUser). | 					m.Combo("").Patch(bind(api.EditUserOption{}), admin.EditUser). | ||||||
| 						Delete(admin.DeleteUser) | 						Delete(admin.DeleteUser) | ||||||
| 					m.Post("/keys", admin.CreatePublicKey) | 					m.Post("/keys", bind(api.CreateKeyOption{}), admin.CreatePublicKey) | ||||||
| 					m.Post("/orgs", bind(api.CreateOrgOption{}), admin.CreateOrg) | 					m.Post("/orgs", bind(api.CreateOrgOption{}), admin.CreateOrg) | ||||||
| 					m.Post("/repos", bind(api.CreateRepoOption{}), admin.CreateRepo) | 					m.Post("/repos", bind(api.CreateRepoOption{}), admin.CreateRepo) | ||||||
| 				}) | 				}) | ||||||
|   | |||||||
| @@ -1 +1 @@ | |||||||
| 0.8.17.0107 | 0.8.17.0108 | ||||||
		Reference in New Issue
	
	Block a user