From 32ccf8c76fa5805466f9118aae46f944ffb0bb08 Mon Sep 17 00:00:00 2001 From: rolfen Date: Sat, 20 Oct 2018 15:40:11 +0000 Subject: [PATCH] improve description --- plugins/change-password-custom-sql/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/change-password-custom-sql/index.php b/plugins/change-password-custom-sql/index.php index ad7f7e222..692f86e7e 100644 --- a/plugins/change-password-custom-sql/index.php +++ b/plugins/change-password-custom-sql/index.php @@ -46,7 +46,7 @@ class ChangePasswordCustomSqlPlugin extends \RainLoop\Plugins\AbstractPlugin \RainLoop\Plugins\Property::NewInstance('mTable')->SetLabel('MySQL Table'), \RainLoop\Plugins\Property::NewInstance('mSql')->SetLabel('SQL statement') ->SetType(\RainLoop\Enumerations\PluginPropertyType::STRING_TEXT) - ->SetDescription('SQL statement (allowed wildcards :table, :email, :oldpass, :newpass, :domain, :username). When using MD5 OR SHA1 at tables, write it directly here as SQL functions. Fro non-SQL encryptions use another plugin or wait for new version.') + ->SetDescription('SQL statement (allowed wildcards :table, :email, :oldpass, :newpass, :domain, :username). Use SQL functions for encryption.') ->SetDefaultValue('UPDATE :table SET password = md5(:newpass) WHERE domain = :domain AND username = :username and oldpass = md5(:oldpass)') ); }