username, $frm->password)) { /// reopen Hive redirect($CFG->wwwroot.'/mod/resource/type/repository/hive/openlitebrowse.php'); } else { redirect($CFG->wwwroot.'/sso/hive/expired.php'); } ?>