What I did to fix this problem In moodle.inc.php: Added to after_login function. // get user login. If status is active flag not set then redirect to amember email verification if ($member['status'] == 0) { $t = & new_smarty(); if ($member['email_verified'] != 1) { //email not verified $t->display('email_verify_reminder.html'); exit; } else { $error = "Sorry, there is a problem with your account. Please contact careeradvice4u to resolve it."; $t->assign('error', $error); $t->display('error.inc.html'); exit; } } So basically I send a reminder to the user to complete the sign in process. Other errors (of an unknown nature) I send to the error page.