]> git.proxmox.com Git - pmg-gui.git/commitdiff
spam: options: adapt do new defaults for bayes/awl
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 23 Jun 2023 12:21:04 +0000 (14:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 26 Jun 2023 13:27:08 +0000 (15:27 +0200)
both options default to false now in the backend

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/SpamDetectorOptions.js

index 58eaee92c27c41654ae6f3aac5582f11471d2a09..ccfff96f9a50b79ed25957e62e0df3608b922a92 100644 (file)
@@ -8,10 +8,10 @@ Ext.define('PMG.SpamDetectorOptions', {
        var me = this;
 
        me.add_boolean_row('use_awl', gettext('Use auto-whitelists'),
-                          { defaultValue: 1 });
+                          { defaultValue: 0 });
 
        me.add_boolean_row('use_bayes', gettext('Use Bayesian filter'),
-                          { defaultValue: 1 });
+                          { defaultValue: 0 });
 
        me.add_boolean_row('rbl_checks', gettext('Use RBL checks'),
                           { defaultValue: 1 });