Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-29991 MDL-27107 auth_mnet - consider all incoming roaming users c…

…onfirmed

Moodle 2.x sites do not send the 'confirmed' field any more (see MDL-27107). We
consider all roaming users confirmed automatically.
  • Loading branch information...
commit 67205358fce1a5f135d5f04bf89cabd56c909ed7 1 parent ea8bda2
@mudrd8mz mudrd8mz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  auth/mnet/auth.php
View
1  auth/mnet/auth.php
@@ -306,6 +306,7 @@ function confirm_mnet_session($token, $remotewwwroot) {
}
$remoteuser->mnethostid = $remotehost->id;
$remoteuser->firstaccess = time(); // First time user in this server, grab it here
+ $remoteuser->confirmed = 1;
if (!$remoteuser->id = insert_record('user', addslashes_recursive($remoteuser))) {
print_error('databaseerror', 'mnet');
Please sign in to comment.
Something went wrong with that request. Please try again.