Removed validation on session since a lot of other software is depending on this package

This commit is contained in:
Magnus Åhall 2024-06-30 11:41:03 +02:00
parent 6623db9574
commit 256dda9a48

View File

@ -5,7 +5,6 @@ import (
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
// Standard // Standard
"errors"
"os" "os"
) )
@ -49,10 +48,6 @@ func New(filename string) (config Config, err error) {
return return
} }
if config.Session.DaysValid == 0 {
err = errors.New("Configuration: session.daysvalid needs to be higher than 0.")
}
return return
} }