<?php
define('SECURE_ACCESS', true);
require 'includes/db.php';
try {
    $stmt = $pdo->prepare("UPDATE notification_templates SET channels_csv = 'email,whatsapp' WHERE template_name = '2fa_code'");
    $stmt->execute();
    echo "Updated 2FA template channels to email,whatsapp";
} catch (PDOException $e) {
    echo 'Error: ' . $e->getMessage();
}
