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"];
$whmcsurl = "https://account.sourcefabric.com/dologin.php";
$autoauthkey = "MabIttEtkac2";
$autoauthkey = "";
$timestamp = time(); //whmcs timezone?
$client = self::getClientDetails();
$email = $client["email"];
$hash = sha1($email.$timestamp.$autoauthkey);
//$goto="viewinvoice.php?id=5108";
$goto = "clientarea.php";
$goto="viewinvoice.php?id=5108";
$this->_redirect($whmcsurl."?email=$email&timestamp=$timestamp&hash=$hash&goto=$goto");
} else {