From bd4314e977b883c1bffe4f593e187a1c62abbfec Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Tue, 5 Jan 2016 11:13:25 -0600 Subject: PLT-1558 adding session length to config file --- manualtesting/manual_testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manualtesting') 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) -- cgit v1.2.3-1-g7c22