You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin/index.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -391,7 +391,7 @@
391
391
mysqli_query($link, "UPDATE `accounts` SET `banned` = '$reason' WHERE `username` = '$un'"); // set account to banned
392
392
mysqli_query($link, "UPDATE `apps` SET `banned` = '1' WHERE `owner` = '$un'"); // ban all apps owned by account
393
393
394
-
wh_log($adminwebhook, "Admin `{$username}` has banned user `{$un}` for reason `{$reason}`", $adminwebhookun);
394
+
dashboard\primary\wh_log($adminwebhook, "Admin `{$username}` has banned user `{$un}` for reason `{$reason}`", $adminwebhookun);
395
395
396
396
dashboard\primary\success("Account Banned!");
397
397
}
@@ -403,7 +403,7 @@
403
403
mysqli_query($link, "UPDATE `accounts` SET `banned` = NULL WHERE `username` = '$un'"); // set account to not banned
404
404
mysqli_query($link, "UPDATE `apps` SET `banned` = '0' WHERE `owner` = '$un'"); // unban all apps owned by account
405
405
406
-
wh_log($adminwebhook, "Admin `{$username}` has unbanned user `{$un}`", $adminwebhookun);
406
+
dashboard\primary\wh_log($adminwebhook, "Admin `{$username}` has unbanned user `{$un}`", $adminwebhookun);
407
407
408
408
dashboard\primary\success("Account Unbanned!");
409
409
}
@@ -483,7 +483,7 @@
483
483
484
484
mysqli_query($link, "UPDATE `accounts` SET `email` = '$email',`role` = '$role', `expires` = NULLIF('$expires', ''), `twofactor` = '$totp' WHERE `username` = '$un'");
485
485
486
-
wh_log($adminwebhook, "Admin `{$username}` has updated user `{$un}` email to `{$email}`, role to `{$role}`, and 2FA status to `{$totp}`", $adminwebhookun);
486
+
dashboard\primary\wh_log($adminwebhook, "Admin `{$username}` has updated user `{$un}` email to `{$email}`, role to `{$role}`, and 2FA status to `{$totp}`", $adminwebhookun);
0 commit comments