mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-07-01 00:08:47 +02:00
pci compliance headers
This commit is contained in:
@@ -67,14 +67,9 @@ function check() {
|
||||
function connect() {
|
||||
var remember = $("#remember").is(":checked");
|
||||
var options = {
|
||||
host: $("#host").val(),
|
||||
port: $("#port").val(),
|
||||
username: $("#username").val(),
|
||||
ispwd: $("input[name=ispwd]:checked").val(),
|
||||
secret: $("#secret").val(),
|
||||
verifyPath: $("#verifyPath").text()
|
||||
}
|
||||
console.debug(options);
|
||||
verifyPath: $("#verifyPath").text(),
|
||||
password: $("#password").text()
|
||||
};
|
||||
if (remember) {
|
||||
store(options)
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ WSSHClient.prototype.sendInitData = function (options) {
|
||||
}
|
||||
|
||||
WSSHClient.prototype.sendClientData = function (data) {
|
||||
this._connection.send(JSON.stringify({"tp": "client", "data": data, 'verifyPath': $("#verifyPath").text()}))
|
||||
this._connection.send(JSON.stringify({"tp": "client", "data": data, 'verifyPath': $("#verifyPath").text(), 'password': $("#password").text()}))
|
||||
}
|
||||
|
||||
var client = new WSSHClient();
|
||||
|
||||
Reference in New Issue
Block a user