diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php index 7ca250a219620..1d056d18b03dc 100644 --- a/auth/mnet/auth.php +++ b/auth/mnet/auth.php @@ -278,7 +278,7 @@ function confirm_mnet_session($token, $remotepeer) { // check sso access control list for permission first if (!$this->can_login_remotely($localuser->username, $remotehost->id)) { - print_error('sso_mnet_login_refused', 'mnet', '', array($localuser->username, $remotehost->name)); + print_error('sso_mnet_login_refused', 'mnet', '', array('user'=>$localuser->username, 'host'=>$remotehost->name)); } // update the local user record with remote user data diff --git a/auth/mnet/lang/en/auth_mnet.php b/auth/mnet/lang/en/auth_mnet.php index bb6b1bb2c540e..5ca8a892710e0 100644 --- a/auth/mnet/lang/en/auth_mnet.php +++ b/auth/mnet/lang/en/auth_mnet.php @@ -33,6 +33,6 @@ $string['rpc_negotiation_timeout'] = 'RPC negotiation timeout'; $string['sso_idp_description'] = 'Publish this service to allow your users to roam to the {$a} Moodle site without having to re-login there.