mirror of https://github.com/go-gitea/gitea.git
work on #756
This commit is contained in:
parent
d01f2f3c22
commit
57b3be4016
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
|
Loading…
Reference in New Issue