This commit is contained in:
the-djmaze 2022-02-06 00:40:36 +01:00
parent 90f559ac8a
commit 3759a576c9
2 changed files with 4 additions and 4 deletions

View file

@ -66,8 +66,8 @@ class ChangePasswordDriverLDAP
'{email:domain}' => $sDomain,
'{login}' => $oAccount->Login(),
'{imap:login}' => $oAccount->Login(),
'{imap:host}' => $oAccount->DomainIncHost(),
'{imap:port}' => $oAccount->DomainIncPort(),
'{imap:host}' => $oAccount->Domain()->IncHost(),
'{imap:port}' => $oAccount->Domain()->IncPort(),
'{gecos}' => \function_exists('posix_getpwnam') ? \posix_getpwnam($oAccount->Login()) : ''
));

View file

@ -6,9 +6,9 @@ class ChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin
{
const
NAME = 'Change Password',
VERSION = '2.3',
VERSION = '2.9',
RELEASE = '2021-07-20',
REQUIRED = '2.5.0',
REQUIRED = '2.9.1',
CATEGORY = 'Security',
DESCRIPTION = 'Extension to allow users to change their passwords';