We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e979c commit f6f5352Copy full SHA for f6f5352
webroot/panel/new_account.php
@@ -22,7 +22,7 @@
22
}
23
24
if ($_POST["new_user_sel"] == "not_pi") {
25
- $form_group = new UnityGroup($_POST["pi"], $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK);
+ $form_group = new UnityGroup(trim($_POST["pi"]), $LDAP, $SQL, $MAILER, $REDIS, $WEBHOOK);
26
if (!$form_group->exists()) {
27
array_push($errors, "The selected PI does not exist");
28
0 commit comments