feat: bot config visual editor, chat admin, debug logging, HMAC toggle
This commit is contained in:
@@ -401,7 +401,12 @@ $routes = [
|
||||
'whatsapp_access_token', 'whatsapp_app_secret', 'whatsapp_verify_token',
|
||||
'whatsapp_business_account_id', 'whatsapp_default_phone_number_id',
|
||||
'ai_provider', 'openai_api_key', 'openai_model', 'ai_max_tokens', 'ai_default_prompt',
|
||||
'verify_hmac_signature',
|
||||
];
|
||||
// Checkbox: si no está presente, desactivar
|
||||
if (!isset($_POST['verify_hmac_signature'])) {
|
||||
$_POST['verify_hmac_signature'] = '0';
|
||||
}
|
||||
$pairs = [];
|
||||
foreach ($allowed as $k) {
|
||||
if (isset($_POST[$k])) {
|
||||
|
||||
Reference in New Issue
Block a user