Fix root user missing admin flag
1 files changed, 1 insertions(+), 1 deletions(-) M db.go
M db.go => db.go +1 -1
@@ 47,7 47,7 @@ func (db *DB) init(ctx context.Context) error { } // TODO: drop this - defaultUser := User{Username: "root"} + defaultUser := User{Username: "root", Admin: true} if err := defaultUser.SetPassword("root"); err != nil { return err }