mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Don't allow adding of users when external authentication is being used.
This commit is contained in:
parent
afcd2e04c6
commit
9dc9273aa9
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user