Skip to content

Commit b350a98

Browse files
committed
updates to _get_password calls adding optional custid parameter for a big speed improvement
1 parent cc64ba4 commit b350a98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static function getActivate(GenericEvent $event)
6161
if (trim($hostname) == '') {
6262
$hostname = $serviceClass->getId().'.server.com';
6363
}
64-
$password = website_get_password($serviceClass->getId());
64+
$password = website_get_password($serviceClass->getId(), $serviceClass->getCustid());
6565
if ($password == false) {
6666
$password = generateRandomString(10, 2, 2, 2, 1);
6767
$GLOBALS['tf']->history->add($settings['PREFIX'], 'password', $serviceClass->getId(), $password);

0 commit comments

Comments
 (0)