From f2bb9c926b1de8993d97d3798c445c5db0186a79 Mon Sep 17 00:00:00 2001 From: Simon Leary Date: Tue, 15 Jul 2025 11:00:25 -0400 Subject: [PATCH] better error message --- webroot/panel/new_account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/panel/new_account.php b/webroot/panel/new_account.php index 63117c46..3ea8ef02 100644 --- a/webroot/panel/new_account.php +++ b/webroot/panel/new_account.php @@ -26,7 +26,7 @@ if ($_POST["new_user_sel"] == "not_pi") { $form_group = new UnityGroup($_POST["pi"], $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK); if (!$form_group->exists()) { - UnitySite::badRequest("The selected PI does not exist"); + UnitySite::badRequest("The selected PI '" . $_POST["pi"] . "'does not exist"); } $form_group->newUserRequest( $USER,