We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c5755 commit f7085cfCopy full SHA for f7085cf
web/delete/key/index.php
@@ -12,12 +12,12 @@
12
}
13
14
if (($_SESSION['userContext'] === 'admin') && (!empty($_GET['user']))) {
15
- $v_user = $_GET['user'];
+ $user = $_GET['user'];
16
17
18
if (!empty($_GET['key'])) {
19
$v_key = escapeshellarg(trim($_GET['key']));
20
- $v_user = escapeshellarg(trim($v_user));
+ $v_user = escapeshellarg(trim($user));
21
exec (HESTIA_CMD."v-delete-user-ssh-key ".$v_user." ".$v_key);
22
check_return_code($return_var,$output);
23
0 commit comments