From 1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 6 Sep 2017 17:12:54 -0500 Subject: app type transition (#7167) --- app/command_logout.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/command_logout.go') 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 -- cgit v1.2.3-1-g7c22