From 7960b378ed775daa5906167ec9b19b16b876bfac Mon Sep 17 00:00:00 2001 From: Meteo Date: Sat, 16 May 2026 23:48:23 +0200 Subject: [PATCH] fixed email settings editing --- pub/api/v1/mailsettings/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pub/api/v1/mailsettings/index.php b/pub/api/v1/mailsettings/index.php index 34f73f9..3ed341b 100644 --- a/pub/api/v1/mailsettings/index.php +++ b/pub/api/v1/mailsettings/index.php @@ -20,7 +20,7 @@ if ($API_mailsettings->request_method === 'PUT') { 'mail_smtp_secure' => ['type' => 'enum', 'values' => ['tls', 'ssl', 'no']], 'mail_smtp_port' => ['type' => 'int', 'min' => 4, 'max' => 65535], 'mail_smtp_auth' => ['type' => 'boolean'], - 'mail_smtp_user' => ['type' => 'email'], + 'mail_smtp_user' => ['type' => 'string'], 'mail_smtp_pass' => ['type' => 'string'] ]; # check if the password is changed