1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 11:10:50 +00:00

goto bug fixed

This commit is contained in:
JessonChan 2016-03-15 16:51:21 +08:00
parent 8660a54fac
commit c51bc86d3f

View File

@ -652,7 +652,7 @@ func (p *ControllerRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
if err != nil {
Error(err)
exception("503", context)
return
goto Admin
}
defer func() {
if context.Input.CruSession != nil {