diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-18 09:49:49 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-18 09:49:49 -0700 |
commit | 0ddabaf8dea72318198ea4e7c4f2844af284b808 (patch) | |
tree | d7860c6334743bf34b16ddd6f8506d05713ba40e /model/client.go | |
parent | 5a436fd447753124b3f7705ecb123ecf5762bc24 (diff) | |
parent | c42a547b4fcd38e065ad2f702110395e9c76cb67 (diff) | |
download | chat-0ddabaf8dea72318198ea4e7c4f2844af284b808.tar.gz chat-0ddabaf8dea72318198ea4e7c4f2844af284b808.tar.bz2 chat-0ddabaf8dea72318198ea4e7c4f2844af284b808.zip |
Merge pull request #717 from mattermost/fix-loadtest
Fix authentication for server load tests.
Diffstat (limited to 'model/client.go')
-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 } |