diff options
author | Wim <wim@42.be> | 2018-10-26 16:47:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 16:47:56 +0200 |
commit | 107969c09a044cbce185a50a63cf58e0281eafc3 (patch) | |
tree | d7c196d57f00d21cf0ae72c30a326371cbe238c1 /bridge/mattermost | |
parent | d379118772aa68d0b35bb5a98b5600dc81a89197 (diff) | |
download | matterbridge-msglm-107969c09a044cbce185a50a63cf58e0281eafc3.tar.gz matterbridge-msglm-107969c09a044cbce185a50a63cf58e0281eafc3.tar.bz2 matterbridge-msglm-107969c09a044cbce185a50a63cf58e0281eafc3.zip |
Split up cookie token and personal token (mattermost). Fixes #530 (#540)
Diffstat (limited to 'bridge/mattermost')
-rw-r--r-- | bridge/mattermost/mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |