Added confirmed equal 1 to user creation
This commit is contained in:
parent
79b6b751b0
commit
8127ab82a9
1 changed files with 1 additions and 0 deletions
1
auth.php
1
auth.php
|
@ -267,6 +267,7 @@ class auth_plugin_userkey extends auth_plugin_base {
|
|||
$user = $data;
|
||||
unset($user['ip']);
|
||||
$user['auth'] = 'userkey';
|
||||
$user['confirmed'] = 1;
|
||||
$user['mnethostid'] = $CFG->mnet_localhost_id;
|
||||
|
||||
$requiredfieds = ['username', 'email', 'firstname', 'lastname'];
|
||||
|
|
Loading…
Reference in a new issue