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