Confirmation hash now assigned with template engine
[shipsimu.git] / inc / classes / main / commands / web / class_WebResendLinkCommand.php
index 03aa64d5c3a9e4c0f07d90ea975f171e1ec9658b..9ff8050ff29cb9fef45567da1c9fdfa78a60ec20 100644 (file)
@@ -103,6 +103,9 @@ class WebResendLinkCommand extends BaseCommand implements Commandable {
                // Update the user class
                $userInstance->updateDatabaseField('confirm_hash', $hashedString);
 
+               // Assign the hash with a template variable
+               $templateInstance->assignVariable('confirm_hash', $hashedString);
+
                // Get a mailer class
                $mailerInstance = ObjectFactory::createObjectByConfiguredName('mailer_class', array($templateInstance));