From 2454909e83537ec8d3134f1241e55663419520ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Mon, 23 Aug 2021 09:37:46 +0200 Subject: [PATCH] [change-password] Set plugins to default to off --- plugins/change-password/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/change-password/index.php b/plugins/change-password/index.php index 9c354c80b..a27521536 100644 --- a/plugins/change-password/index.php +++ b/plugins/change-password/index.php @@ -99,7 +99,8 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin $result[] = \RainLoop\Plugins\Property::NewInstance("driver_{$name}_enabled") ->SetLabel('Enable ' . $class::NAME) ->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL) - ->SetDescription($class::DESCRIPTION); + ->SetDescription($class::DESCRIPTION) + ->SetDefaultValue(false); $result[] = \RainLoop\Plugins\Property::NewInstance("driver_{$name}_allowed_emails") ->SetLabel('Allowed emails') ->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)