import bcrypt from 'bcrypt'; const password = 'admin123'; const hash = '$2b$10$N9qo8uLOickgx2ZMRZoMye7FRNv8va91kpMQH6.OfzrcBizxDbvSK'; console.log('Testing bcrypt...'); console.log('Password:', password); console.log('Hash:', hash); bcrypt.compare(password, hash).then(result => { console.log('Result:', result); if (result) { console.log('✅ Password is correct!'); } else { console.log('❌ Password is incorrect!'); } }).catch(err => { console.error('Error:', err); });