when session id is invalid,the function "revokeSession" should return (#7127)

Этот коммит содержится в:
KenmyZhang
2017-08-10 04:36:59 +08:00
коммит произвёл Christopher Speller
родитель ab13de96a0
Коммит 504582b824

Просмотреть файл

@@ -926,6 +926,7 @@ func revokeSession(c *Context, w http.ResponseWriter, r *http.Request) {
if sessionId == "" {
c.SetInvalidParam("session_id")
return
}
if err := app.RevokeSessionById(sessionId); err != nil {