Removed validation on session since a lot of other software is depending on this package
This commit is contained in:
parent
6623db9574
commit
256dda9a48
@ -5,7 +5,6 @@ import (
|
||||
"gopkg.in/yaml.v3"
|
||||
|
||||
// Standard
|
||||
"errors"
|
||||
"os"
|
||||
)
|
||||
|
||||
@ -49,10 +48,6 @@ func New(filename string) (config Config, err error) {
|
||||
return
|
||||
}
|
||||
|
||||
if config.Session.DaysValid == 0 {
|
||||
err = errors.New("Configuration: session.daysvalid needs to be higher than 0.")
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user