MDL-9297 - fixed broken mnet logout caused by my auth refactoring
This commit is contained in:
+1
-1
@@ -1006,7 +1006,7 @@ class auth_plugin_mnet extends auth_plugin_base {
|
||||
*/
|
||||
function prelogout_hook() {
|
||||
global $MNET, $CFG, $USER;
|
||||
if ($USER->auth != 'mnet') {
|
||||
if (!is_enabled_auth('mnet')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user