makes sure rotation is always higher than urgent rotation

This commit is contained in:
bergquist
2019-01-24 13:54:45 +01:00
parent 9ae306e417
commit 516037fbdd
4 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ func createTestContext(t *testing.T) *testContext {
LoginCookieSecure: false,
LoginCookieMaxDays: 7,
LoginDeleteExpiredTokensAfterDays: 30,
LoginCookieRotation: 10 * time.Minute,
LoginCookieRotation: 10,
},
log: log.New("test-logger"),
}