diff options
Diffstat (limited to 'api/command_logout.go')
-rw-r--r-- | api/command_logout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_logout.go b/api/command_logout.go index 474f0b58e..00375bb58 100644 --- a/api/command_logout.go +++ b/api/command_logout.go @@ -34,7 +34,7 @@ func (me *LogoutProvider) GetCommand(c *Context) *model.Command { func (me *LogoutProvider) DoCommand(c *Context, args *model.CommandArgs, message string) *model.CommandResponse { FAIL := &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL, Text: c.T("api.command_logout.fail_message")} - SUCCESS := &model.CommandResponse{GotoLocation: "/", ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL, Text: c.T("api.command_logout.success_message")} + SUCCESS := &model.CommandResponse{GotoLocation: "/login"} // 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 c.Session.Id != "" { |