Update: 2026-05-08 06:28:54
This commit is contained in:
@@ -65,10 +65,6 @@ try {
|
||||
$passwordHash
|
||||
]);
|
||||
|
||||
// 7. Insert Gamification Profile (Optional but good for testing dashboard)
|
||||
$stmtProfile = $db->prepare("INSERT INTO user_profiles (user_id, points, current_level, rank_title) VALUES (?, 1500, 2, 'مُحاسب مبتدئ') ON DUPLICATE KEY UPDATE points=1500");
|
||||
$stmtProfile->execute([$userId]);
|
||||
|
||||
$db->commit();
|
||||
echo "<h3 style='color:green'>✅ تم إنشاء الحساب التجريبي بنجاح!</h3>";
|
||||
echo "<p><b>البريد الإلكتروني:</b> $userEmail</p>";
|
||||
|
||||
Reference in New Issue
Block a user