mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	work on #756
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.5.9.1216 Beta"
 | 
					const APP_VER = "0.5.9.1217 Beta"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func init() {
 | 
					func init() {
 | 
				
			||||||
	runtime.GOMAXPROCS(runtime.NumCPU())
 | 
						runtime.GOMAXPROCS(runtime.NumCPU())
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -62,6 +62,8 @@ func SignIn(ctx *middleware.Context) {
 | 
				
			|||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		if err != models.ErrUserNotExist {
 | 
							if err != models.ErrUserNotExist {
 | 
				
			||||||
			ctx.Handle(500, "GetUserByName", err)
 | 
								ctx.Handle(500, "GetUserByName", err)
 | 
				
			||||||
 | 
							} else {
 | 
				
			||||||
 | 
								ctx.HTML(200, SIGNIN)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		return
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1 +1 @@
 | 
				
			|||||||
0.5.9.1216 Beta
 | 
					0.5.9.1217 Beta
 | 
				
			||||||
		Reference in New Issue
	
	Block a user