summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/system_usermanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php
index fd700ac..725511f 100644
--- a/usr/local/www/system_usermanager.php
+++ b/usr/local/www/system_usermanager.php
@@ -85,7 +85,7 @@ if (isSystemAdmin($HTTP_SERVER_VARS['AUTH_USER']) or $isAdminUser == true) {
unset($input_errors);
$pconfig = $_POST;
- if(!$_POST['groupname'])
+ if(!$_POST['groupname'] and $_POST['usernamefld'] != "admin")
$input_errors[] = "You must specify at least one group!";
/* input validation */
OpenPOWER on IntegriCloud