From f012728876d4e0bd772fa1928bf463b5ca247252 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Fri, 24 Apr 2026 13:20:05 +0300 Subject: [PATCH] seed admin with hashed password --- data/seedDb.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/seedDb.php b/data/seedDb.php index ba7c010..5756162 100644 --- a/data/seedDb.php +++ b/data/seedDb.php @@ -28,10 +28,12 @@ $nodes = [ ], ]; +// Default admin credentials: admin@example.com / admin1234 $users = [ [ 'id' => 0, 'email' => 'admin@example.com', + 'passwordHash' => password_hash('admin1234', PASSWORD_DEFAULT), 'isAdmin' => true, ], ];