Fix jwt-token
This commit is contained in:
@@ -66,7 +66,7 @@ const setupDatabase = async () => {
|
|||||||
console.log('👤 Creating admin user...');
|
console.log('👤 Creating admin user...');
|
||||||
const adminUser = await User.create({
|
const adminUser = await User.create({
|
||||||
username: 'admin',
|
username: 'admin',
|
||||||
email: 'admin@example.com',
|
email: 'borg@servernet.se',
|
||||||
password_hash: await bcrypt.hash('admin123', 10),
|
password_hash: await bcrypt.hash('admin123', 10),
|
||||||
role: 'admin',
|
role: 'admin',
|
||||||
tenant_id: defaultTenant.id
|
tenant_id: defaultTenant.id
|
||||||
|
|||||||
Reference in New Issue
Block a user