service 2

This commit is contained in:
Hamza-Ayed
2026-05-02 14:34:52 +03:00
parent ed5c51a5e5
commit 02a16f0ca0
2 changed files with 13 additions and 2 deletions

View File

@@ -48,8 +48,9 @@ try {
$encFp = $encryptionHelper->encryptData($fingerprint);
// 3. الإدخال في قاعدة البيانات (الحالة الافتراضية هي 0 أو pending)
$sql = "INSERT INTO users (id, first_name, last_name, email, phone, password, fingerprint, fingerprint_hash, user_type, status, created_at)
VALUES (:id, :fname, :lname, :email, :phone, :pass, :fp, :fp_hash, 'service', 0, NOW())";
$sql = "INSERT INTO users (id, first_name, last_name, email, phone, password, fingerprint, fingerprint_hash, user_type, created_at)
VALUES (:id, :fname, :lname, :email, :phone, :pass, :fp, :fp_hash, 'service', NOW())";
$stmt = $con->prepare($sql);
$stmt->execute([