summaryrefslogtreecommitdiffstats
path: root/app/command_logout.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/command_logout.go')
-rw-r--r--app/command_logout.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_logout.go b/app/command_logout.go
index cc59d2686..af28b9a16 100644
--- a/app/command_logout.go
+++ b/app/command_logout.go
@@ -39,7 +39,7 @@ func (me *LogoutProvider) DoCommand(args *model.CommandArgs, message string) *mo
// We can't actually remove the user's cookie from here so we just dump their session and let the browser figure it out
if args.Session.Id != "" {
- if err := RevokeSessionById(args.Session.Id); err != nil {
+ if err := Global().RevokeSessionById(args.Session.Id); err != nil {
return FAIL
}
return SUCCESS