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"
|
"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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user