From 107969c09a044cbce185a50a63cf58e0281eafc3 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 26 Oct 2018 16:47:56 +0200 Subject: Split up cookie token and personal token (mattermost). Fixes #530 (#540) --- bridge/mattermost/mattermost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/mattermost') diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index 12b5097f..2fed284e 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -273,7 +273,7 @@ func (b *Bmattermost) handleMatterHook(messages chan *config.Message) { func (b *Bmattermost) apiLogin() error { password := b.GetString("Password") if b.GetString("Token") != "" { - password = "MMAUTHTOKEN=" + b.GetString("Token") + password = "token=" + b.GetString("Token") } b.mc = matterclient.New(b.GetString("Login"), password, b.GetString("Team"), b.GetString("Server")) -- cgit v1.2.3