# HG changeset patch # User Sascha L. Teichmann # Date 1557141713 -7200 # Node ID 659549608644e60fc237d4ee47d586a2db4ef66b # Parent 6a44a89ffb5148c950de0d38181b9048064bf435 Config: Fixed type of session timeout (its a duration now ... as intended). diff -r 6a44a89ffb51 -r 659549608644 pkg/config/config.go --- a/pkg/config/config.go Mon May 06 13:19:59 2019 +0200 +++ b/pkg/config/config.go Mon May 06 13:21:53 2019 +0200 @@ -248,7 +248,7 @@ strP("db-ssl", "S", "prefer", "SSL mode of the database") strP("sessions", "s", "", "path to the sessions file") - str("session-timeout", "3h", "duration until sessions expire") + d("session-timeout", 3*time.Hour, "duration until sessions expire") strP("web", "w", "./web", "path to the web files") strP("host", "o", "localhost", "host of the web app")