diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/user.go b/api4/user.go index 16c1f4a74..b0192592c 100644 --- a/api4/user.go +++ b/api4/user.go @@ -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 { |