Skip to content

Commit d4309f6

Browse files
authored
better error message (#279)
1 parent 823aafd commit d4309f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webroot/panel/new_account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if ($_POST["new_user_sel"] == "not_pi") {
2727
$form_group = new UnityGroup($_POST["pi"], $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK);
2828
if (!$form_group->exists()) {
29-
UnitySite::badRequest("The selected PI does not exist");
29+
UnitySite::badRequest("The selected PI '" . $_POST["pi"] . "'does not exist");
3030
}
3131
$form_group->newUserRequest(
3232
$USER,

0 commit comments

Comments
 (0)