0.3.15
This commit is contained in:
parent
0db433e231
commit
57ca1b9546
@ -692,10 +692,8 @@ function postProcessCable(){
|
||||
|
||||
// Update remote port(s)
|
||||
$.each(remotePortGlobalIDArray, function(index, remotePortGlobalID){
|
||||
console.log('Debug (remotePortGlobalID): '+remotePortGlobalID);
|
||||
|
||||
if($('#'+remotePortGlobalID).length) {
|
||||
console.log('Debug (localPortGlobalIDBase64): '+localPortGlobalIDBase64);
|
||||
$('#'+remotePortGlobalID).addClass('populated').data('connectedGlobalId', localPortGlobalIDBase64);
|
||||
}
|
||||
});
|
||||
|
||||
@ -212,7 +212,7 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){
|
||||
}
|
||||
$remotePortString = implode('<br>', $remotePortArray);
|
||||
$actionString = 'Deleted connection: <strong>'.$localPort.'</strong> to <strong>'.$remotePortString.'</strong>';
|
||||
error_log('Debug (actionString): '.$actionString);
|
||||
|
||||
$qls->App->logAction(3, 3, $actionString);
|
||||
|
||||
break;
|
||||
|
||||
@ -64,7 +64,6 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){
|
||||
//Check for request errors.
|
||||
$errMsg = false;
|
||||
if(!curl_errno($ch)) {
|
||||
error_log('Debug (responseJSON): '.$responseJSON);
|
||||
if($response = json_decode($responseJSON, true)) {
|
||||
if(!count($response['error'])) {
|
||||
if($response['success'] != '') {
|
||||
|
||||
@ -37,7 +37,6 @@ if($_SERVER['REQUEST_METHOD'] == 'POST'){
|
||||
$validate->returnData['data']['pathDiverges'] = $pathDiverges;
|
||||
|
||||
$validate->returnData['success'] = $qls->App->buildPathFull2($pathArray);
|
||||
error_log('Debug (pathArray): '.json_encode($pathArray));
|
||||
}
|
||||
echo json_encode($validate->returnData);
|
||||
}
|
||||
|
||||
@ -21,7 +21,6 @@ if ($qls->User->check_password_code()) {
|
||||
if (!isset($_GET['code'])) {
|
||||
if (isset($_POST['process'])) {
|
||||
if($change_link = $qls->User->get_password_reset_link()) {
|
||||
error_log('Debug: changeLink = '.$change_link);
|
||||
$recipientEmail = $qls->Security->make_safe($_POST['username']);
|
||||
$qls->Pub->sendProxyEmail('password_reset', $recipientEmail, array('change_link' => $change_link));
|
||||
|
||||
|
||||
@ -3495,7 +3495,6 @@ var $qls;
|
||||
}
|
||||
|
||||
function getCurrentPathIndex($pathArray, $currentPortAddressMD5){
|
||||
error_log('Debug (current port): '.$currentPortAddressMD5);
|
||||
foreach($pathArray as $pathArrayIndex => $connection) {
|
||||
foreach($connection as $connectionSide) {
|
||||
foreach($connectionSide as $port) {
|
||||
@ -3507,8 +3506,6 @@ var $qls;
|
||||
$portAddressString = $objID.'_'.$objFace.'_'.$objDepth.'_'.$objPort;
|
||||
$portAddressMD5 = md5($portAddressString);
|
||||
|
||||
error_log('Debug (port): '.$portAddressString.' - '.$portAddressMD5);
|
||||
|
||||
if($currentPortAddressMD5 == $portAddressMD5) {
|
||||
return $pathArrayIndex;
|
||||
}
|
||||
|
||||
@ -292,12 +292,10 @@ var $sql_class;
|
||||
if ($result = $this->connection->query($query)) {
|
||||
return $result;
|
||||
} else {
|
||||
error_log($query);
|
||||
$this->error();
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
error_log($query);
|
||||
// Find the error for no query
|
||||
$result = $this->connection->query('');
|
||||
$this->error();
|
||||
|
||||
@ -57,7 +57,6 @@ if(isset($demoAutoLogin)) {
|
||||
$secret = $user_info['mfa_secret'];
|
||||
|
||||
$gAuthResponse = $qls->gAuth->checkCode($secret, $gAuthCode);
|
||||
error_log($secret.' - '.$gAuthCode.' - '.$gAuthResponse);
|
||||
|
||||
$mfaAuthToken = $_SESSION[$qls->config['cookie_prefix'] . 'mfa_auth_token'];
|
||||
unset($_SESSION[$qls->config['cookie_prefix'] . 'mfa_auth_token']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user