summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index bc864bcf0..3c2409155 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -451,7 +451,7 @@ if ($action eq 'new') {
PutTrailer($localtrailer);
exit;
}
- if (TestUser($user)) {
+ if (!ValidateNewUser($user)) {
print "The user '$user' does already exist. Please press\n";
print "<b>Back</b> and try again.\n";
PutTrailer($localtrailer);