diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-05 11:13:25 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-05 11:13:25 -0600 |
commit | bd4314e977b883c1bffe4f593e187a1c62abbfec (patch) | |
tree | 89a29cb769efc36eff1fb3a99607004a6ce9cb91 /manualtesting | |
parent | e432b66641b9f11e505a8497efaeea53ab4b6ce0 (diff) | |
download | chat-bd4314e977b883c1bffe4f593e187a1c62abbfec.tar.gz chat-bd4314e977b883c1bffe4f593e187a1c62abbfec.tar.bz2 chat-bd4314e977b883c1bffe4f593e187a1c62abbfec.zip |
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) |