mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Added support for usercreation from Moodle to authentication module.
Works currently only with ldap-module (tested with e-directory), but other modules could be extended too by adding following functions: function auth_user_exists ($username) { //returns true if given username already exists on authetication database } function auth_user_create ($userobject,$plainpass) { //create new user to authentication database //in inactive state (if posible) //returns true if user is created } function auth_user_activate ($username) { //activate external user after email-address is confirmed //returns true if user is activated }
This commit is contained in:
parent
47623d4f8f
commit
5f2c35db18
10 changed files with 175 additions and 29 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
$starttime = microtime();
|
||||
|
||||
require_once("../config.php");
|
||||
require_once("/usr/local/moodle/config.php");
|
||||
|
||||
echo "<PRE>\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue