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,