Update index.php

The second parameter remove the first one in admin part
This commit is contained in:
dominiquefournier 2021-03-04 15:05:35 +01:00 committed by GitHub
parent 0c8c28fe41
commit fcbebadccc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,8 +85,6 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)
->SetDescription('Minimum length of the password')
->SetDefaultValue(10),
];
$result = [
\RainLoop\Plugins\Property::NewInstance("pass_min_strength")
->SetLabel('Password minimum strength')
->SetType(\RainLoop\Enumerations\PluginPropertyType::INT)