X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_wernis.php;h=95b848394f753b7e7c5d64f80ae5e517592a3c04;hb=095f5ab59b539834d2c67e5d409d01820e10d8be;hp=7650ae1bad076f26bad92b0ef7176ed5efd9582c;hpb=33a744d80e9c5ec1c13e8f643143146166975e9b;p=mailer.git diff --git a/inc/modules/admin/what-config_wernis.php b/inc/modules/admin/what-config_wernis.php index 7650ae1bad..95b848394f 100644 --- a/inc/modules/admin/what-config_wernis.php +++ b/inc/modules/admin/what-config_wernis.php @@ -1,7 +1,7 @@ $CONFIG['wernis_min_amount'], - 'api_id' => $CONFIG['wernis_api_id'], - 'api_md5' => $CONFIG['wernis_api_md5'], - 'api_url' => $CONFIG['wernis_api_url'] - ); + // Remove clear password + unsetPostRequestElement('wernis_pass'); + // Save it, anyway + adminSaveSettingsFromPostData(); + } +} else { // Load template - LOAD_TEMPLATE("admin_config_wernis", false, $content); + loadTemplate('admin_config_wernis'); } -// +// [EOF] ?>