diff --git a/auth.php b/auth.php index b196694..377c119 100644 --- a/auth.php +++ b/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'];