From 2753ece9576f9f7a81bb148b1e905130692a486b Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Thu, 3 Apr 2014 08:44:19 -0500
Subject: [PATCH] registration: Send correct email to clients

---
 account.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/account.php b/account.php
index 66de95eca..9d1dbcc98 100644
--- a/account.php
+++ b/account.php
@@ -91,7 +91,7 @@ elseif ($_POST) {
         case 'create':
             $content = Page::lookup(Page::getIdByType('registration-confirm'));
             $inc = 'register.confirm.inc.php';
-            $acct->sendResetEmail('registration-client');
+            $acct->sendConfirmEmail();
             break;
         case 'import':
             foreach (UserAuthenticationBackend::allRegistered() as $bk) {
-- 
GitLab