Remove key

This commit is contained in:
drigato 2014-06-18 10:42:50 -04:00
parent dc583a6e41
commit 70a7410b1a
1 changed files with 2 additions and 3 deletions

View File

@ -44,13 +44,12 @@ class BillingController extends Zend_Controller_Action {
//$invoiceUrl = "https://account.sourcefabric.com/viewinvoice.php?id=".$result["invoiceid"]; //$invoiceUrl = "https://account.sourcefabric.com/viewinvoice.php?id=".$result["invoiceid"];
$whmcsurl = "https://account.sourcefabric.com/dologin.php"; $whmcsurl = "https://account.sourcefabric.com/dologin.php";
$autoauthkey = "MabIttEtkac2"; $autoauthkey = "";
$timestamp = time(); //whmcs timezone? $timestamp = time(); //whmcs timezone?
$client = self::getClientDetails(); $client = self::getClientDetails();
$email = $client["email"]; $email = $client["email"];
$hash = sha1($email.$timestamp.$autoauthkey); $hash = sha1($email.$timestamp.$autoauthkey);
//$goto="viewinvoice.php?id=5108"; $goto="viewinvoice.php?id=5108";
$goto = "clientarea.php";
$this->_redirect($whmcsurl."?email=$email&timestamp=$timestamp&hash=$hash&goto=$goto"); $this->_redirect($whmcsurl."?email=$email&timestamp=$timestamp&hash=$hash&goto=$goto");
} else { } else {