Sessions: Add max age and timeout config options #98 #782

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2022-10-03 22:59:29 +02:00
parent 96dfe6c7c9
commit bac6ae0cbd
45 changed files with 779 additions and 191 deletions

View File

@@ -7,11 +7,13 @@ import (
"github.com/sirupsen/logrus"
"github.com/photoprism/photoprism/internal/config"
"github.com/photoprism/photoprism/internal/event"
)
func TestMain(m *testing.M) {
log = logrus.StandardLogger()
log.SetLevel(logrus.TraceLevel)
event.AuditLog = log
c := config.TestConfig()
defer c.CloseDb()