We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e7c9a1 commit 69b32a8Copy full SHA for 69b32a8
webroot/panel/account.php
@@ -45,14 +45,14 @@
45
try {
46
$keyWasAdded = $USER->addSSHKey($key, $OPERATOR);
47
} catch (NoKeyLoadedException) {
48
- UnityHTTPD::messageError("SSH Key Not Added", "This key is invalid");
+ UnityHTTPD::messageError("SSH Key Not Added: Invalid", $key);
49
UnityHTTPD::redirect();
50
}
51
if ($keyWasAdded) {
52
- UnityHTTPD::messageSuccess("SSH Key Added", "");
+ UnityHTTPD::messageSuccess("SSH Key Added", $key);
53
54
} else {
55
- UnityHTTPD::messageInfo("SSH Key Not Added", "This key already exists");
+ UnityHTTPD::messageInfo("SSH Key Not Added: Already Exists", $key);
56
57
58
0 commit comments