fixed login and logout and started on player screen
This commit is contained in:
@@ -53,7 +53,12 @@ async function seed() {
|
||||
let passwordHash = await Bun.password.hash('password');
|
||||
await db
|
||||
.insert(schema.scorers)
|
||||
.values({ id: crypto.randomUUID(), username: 'admin', passwordHash: passwordHash });
|
||||
.values({
|
||||
id: crypto.randomUUID(),
|
||||
username: 'admin',
|
||||
role: 'admin',
|
||||
passwordHash: passwordHash
|
||||
});
|
||||
|
||||
// Seed teams
|
||||
const teamsCSV = readCSV('teams.csv');
|
||||
|
||||
Reference in New Issue
Block a user