Verify seed users and change AppleCar password (#11825)

isEmailVerified was set to false which was annoying in the staging
environment

Also updated password for tim@apple.dev from AppleCar2025 to just
tim@apple.dev since the joke is outdated
This commit is contained in:
Félix Malfait
2025-04-30 18:59:13 +02:00
committed by GitHub
parent 17334f8800
commit 8c3a2d8640
7 changed files with 22 additions and 14 deletions

View File

@ -23,6 +23,7 @@ export const seedUsers = async (
'lastName',
'email',
'passwordHash',
'isEmailVerified',
])
.orIgnore()
.values([
@ -32,7 +33,8 @@ export const seedUsers = async (
lastName: 'A',
email: 'noah@demo.dev',
passwordHash:
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
'$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // tim@apple.dev
isEmailVerified: true,
},
{
id: DEMO_SEED_USER_IDS.HUGO,
@ -40,7 +42,8 @@ export const seedUsers = async (
lastName: 'I',
email: 'hugo@demo.dev',
passwordHash:
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
'$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // tim@apple.dev
isEmailVerified: true,
},
{
id: DEMO_SEED_USER_IDS.TIM,
@ -48,7 +51,8 @@ export const seedUsers = async (
lastName: 'Apple',
email: 'tim@apple.dev',
passwordHash:
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
'$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // tim@apple.dev
isEmailVerified: true,
},
])
.execute();

View File

@ -23,6 +23,7 @@ export const seedUsers = async (
'passwordHash',
'canImpersonate',
'canAccessFullAdminPanel',
'isEmailVerified',
])
.orIgnore()
.values([
@ -32,9 +33,10 @@ export const seedUsers = async (
lastName: 'Apple',
email: 'tim@apple.dev',
passwordHash:
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
'$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // tim@apple.dev
canImpersonate: true,
canAccessFullAdminPanel: true,
isEmailVerified: true,
},
{
id: DEV_SEED_USER_IDS.JONY,
@ -42,9 +44,10 @@ export const seedUsers = async (
lastName: 'Ive',
email: 'jony.ive@apple.dev',
passwordHash:
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
'$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // tim@apple.dev
canImpersonate: true,
canAccessFullAdminPanel: true,
isEmailVerified: true,
},
{
id: DEV_SEED_USER_IDS.PHIL,
@ -52,9 +55,10 @@ export const seedUsers = async (
lastName: 'Schiler',
email: 'phil.schiler@apple.dev',
passwordHash:
'$2b$10$66d.6DuQExxnrfI9rMqOg.U1XIYpagr6Lv05uoWLYbYmtK0HDIvS6', // Applecar2025
'$2b$10$3LwXjJRtLsfx4hLuuXhxt.3mWgismTiZFCZSG3z9kDrSfsrBl0fT6', // tim@apple.dev
canImpersonate: true,
canAccessFullAdminPanel: true,
isEmailVerified: true,
},
])
.execute();