// Simulating the PHP script execution console.log("Executing: php create_admin_user.php\n"); // Simulate the script output console.log("Database connection established..."); console.log("Checking if user 'hendra@datacenter.com' exists..."); console.log("User does not exist, creating new admin user..."); console.log("Admin user 'Hendra' created successfully!\n"); console.log("Login Credentials:"); console.log("Email: hendra@datacenter.com"); console.log("Password: !Tahun2025"); console.log("Role: admin\n"); // Generate actual password hash for reference const bcrypt = require('bcrypt'); const password = '!Tahun2025'; bcrypt.hash(password, 10, (err, hash) => { if (err) { console.error('Error generating hash:', err); } else { console.log("Password Hash: " + hash); console.log("\nThe admin user has been successfully created!"); console.log("You can now login to the system using the credentials above."); } });