andre 5 سال پیش
والد
کامیت
8206810abb
1فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  1. 9 1
      zimbraSingle.php

+ 9 - 1
zimbraSingle.php

@@ -425,7 +425,15 @@ function zimbraSingle_CreateAccount($params)
         );
         );
         return "Error: account $accountName not created";
         return "Error: account $accountName not created";
     }
     }
-    return 'success';
+    Capsule::table('tblhosting')
+    ->where('id', '=', $params['id'])
+    ->update(
+        array(
+            'username' => $accountName,
+            'password' => $params['customfields']['password'],
+        )
+    );
+return 'success';
 }
 }
 
 
 /**
 /**