Update seeded admin email
This commit is contained in:
@ -9,7 +9,7 @@ dotenv.config({ path: path.resolve(process.cwd(), '.env'), quiet: true });
|
|||||||
const prisma = new PrismaClient();
|
const prisma = new PrismaClient();
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const email = 'admin@example.com';
|
const email = 'admin@bizone.id';
|
||||||
const password = 'ChangeMe123!';
|
const password = 'ChangeMe123!';
|
||||||
const passwordHash = await bcrypt.hash(password, 10);
|
const passwordHash = await bcrypt.hash(password, 10);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user