diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-09-18 12:16:53 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-09-18 12:16:53 -0400 |
commit | c42a547b4fcd38e065ad2f702110395e9c76cb67 (patch) | |
tree | 3a9790f08768bd90bbb05fd55bfc18ead396f990 /model | |
parent | 6eb32591d978240fb77696f0b8697e81832883bb (diff) | |
download | chat-c42a547b4fcd38e065ad2f702110395e9c76cb67.tar.gz chat-c42a547b4fcd38e065ad2f702110395e9c76cb67.tar.bz2 chat-c42a547b4fcd38e065ad2f702110395e9c76cb67.zip |
Fix authentication for loadtests.
Diffstat (limited to 'model')
-rw-r--r-- | model/client.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/model/client.go b/model/client.go index 9a89e8208..1e2ac59ac 100644 --- a/model/client.go +++ b/model/client.go @@ -790,4 +790,5 @@ func (c *Client) GetAccessToken(data url.Values) (*Result, *AppError) { func (c *Client) MockSession(sessionToken string) { c.AuthToken = sessionToken + c.AuthType = HEADER_BEARER } |