getConnection(); $stmt = $db->prepare("UPDATE admin_users SET password_hash = ? WHERE email = 'admin@epictravel.com'"); $stmt->execute([$generated_hash]); $message = "✅ Password updated in database successfully!"; } catch (Exception $e) { $error = "❌ Database update failed: " . $e->getMessage(); } } } ?> Admin Password Setup - Epic Travel

🔐 Admin Password Setup

⚠️ Security Warning: Delete this file after use!
Generated Password Hash:

Next Steps:

  1. Copy the hash above
  2. Open config.php
  3. Find the line with ADMIN_PASSWORD_HASH
  4. Replace the placeholder with your hash
  5. DELETE this file immediately!

Or run this SQL:

UPDATE admin_users SET password_hash = '' WHERE email = 'admin@epictravel.com';
Epic Travel & Expeditions | admin@epictravel.com