seed regular user for cypress

This commit is contained in:
Yisroel Baum 2026-04-24 16:06:59 +03:00
parent 5a24f5bde4
commit 95f7f1cb78
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -28,7 +28,9 @@ $nodes = [
],
];
// Default admin credentials: admin@example.com / admin1234
// Default credentials:
// admin@example.com / admin1234 (admin)
// user@example.com / password1 (regular user)
$users = [
[
'id' => 0,
@ -36,6 +38,12 @@ $users = [
'passwordHash' => password_hash('admin1234', PASSWORD_DEFAULT),
'isAdmin' => true,
],
[
'id' => 1,
'email' => 'user@example.com',
'passwordHash' => password_hash('password1', PASSWORD_DEFAULT),
'isAdmin' => false,
],
];
$plans = [];