From 95f7f1cb7825223116297fe086cb1e1818a4c0c5 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Fri, 24 Apr 2026 16:06:59 +0300 Subject: [PATCH] seed regular user for cypress --- data/seedDb.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/data/seedDb.php b/data/seedDb.php index 9eb4128..aaa329f 100644 --- a/data/seedDb.php +++ b/data/seedDb.php @@ -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 = [];