added authorization checks

This commit is contained in:
2023-03-16 15:04:03 +01:00
parent 0bd5587ce2
commit 77d6c02d4d
6 changed files with 97 additions and 61 deletions

View File

@@ -39,7 +39,7 @@ func Runserver(conf *cfg.Config, args []string) error {
Sessionstore = session.New()
// bbolt db setup
db, err := NewDb(conf.DbFile)
db, err := NewDb(conf)
if err != nil {
return err
}