mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
[change-password] Set plugins to default to off
This commit is contained in:
parent
05af650a29
commit
2454909e83
1 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,8 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
$result[] = \RainLoop\Plugins\Property::NewInstance("driver_{$name}_enabled")
|
$result[] = \RainLoop\Plugins\Property::NewInstance("driver_{$name}_enabled")
|
||||||
->SetLabel('Enable ' . $class::NAME)
|
->SetLabel('Enable ' . $class::NAME)
|
||||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)
|
->SetType(\RainLoop\Enumerations\PluginPropertyType::BOOL)
|
||||||
->SetDescription($class::DESCRIPTION);
|
->SetDescription($class::DESCRIPTION)
|
||||||
|
->SetDefaultValue(false);
|
||||||
$result[] = \RainLoop\Plugins\Property::NewInstance("driver_{$name}_allowed_emails")
|
$result[] = \RainLoop\Plugins\Property::NewInstance("driver_{$name}_allowed_emails")
|
||||||
->SetLabel('Allowed emails')
|
->SetLabel('Allowed emails')
|
||||||
->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)
|
->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue