diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-01-06 16:13:10 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-01-06 16:13:10 -0500 |
commit | 5bcb9f1c50ed9c319d2a21f2ecb4816c51d18b40 (patch) | |
tree | b24590d93e46414e849ef4af7cefe54b8b7061d7 /manualtesting | |
parent | 5855b5e4590889944e4a408f7185f84779fc701a (diff) | |
parent | 214c6bc15ed1d0c9f94d0f0545d3f95241893cdc (diff) | |
download | chat-5bcb9f1c50ed9c319d2a21f2ecb4816c51d18b40.tar.gz chat-5bcb9f1c50ed9c319d2a21f2ecb4816c51d18b40.tar.bz2 chat-5bcb9f1c50ed9c319d2a21f2ecb4816c51d18b40.zip |
Merge pull request #1813 from mattermost/PLT-1558
PLT-1558 adding session length to config file
Diffstat (limited to 'manualtesting')
-rw-r--r-- | manualtesting/manual_testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manualtesting/manual_testing.go b/manualtesting/manual_testing.go index ffdb578a4..b3d01a5a6 100644 --- a/manualtesting/manual_testing.go +++ b/manualtesting/manual_testing.go @@ -114,7 +114,7 @@ func manualTest(c *api.Context, w http.ResponseWriter, r *http.Request) { Name: model.SESSION_COOKIE_TOKEN, Value: client.AuthToken, Path: "/", - MaxAge: model.SESSION_TIME_WEB_IN_SECS, + MaxAge: *utils.Cfg.ServiceSettings.SessionLengthWebInDays * 60 * 60 * 24, HttpOnly: true, } http.SetCookie(w, sessionCookie) |