Don't allow adding of users when external authentication is being used.
This commit is contained in:
+3
-1
@@ -261,7 +261,9 @@
|
||||
|
||||
print_table($table);
|
||||
|
||||
print_heading("<A HREF=\"user.php?newuser=true\">".get_string("addnewuser")."</A>");
|
||||
if ($CFG->auth == "email" || $CFG->auth == "none" || $CFG->auth == "manual"){
|
||||
print_heading("<A HREF=\"user.php?newuser=true\">".get_string("addnewuser")."</A>");
|
||||
}
|
||||
|
||||
print_footer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user