file login.php was added on branch MOODLE_15_STABLE on 2005-08-01 08:51:38 +0000

This commit is contained in:
moodler
2005-07-29 08:06:01 +00:00
parent bf4a11dd4b
commit 4681fd95fe
-23
View File
@@ -1,23 +0,0 @@
<?php // $Id$
// login.php - action of the login form put up by expired.php.
require('../../config.php');
require('lib.php');
require_login();
// get the login data
$frm = data_submitted('');
// log back into Hive
if (sso_user_login($frm->username, $frm->password)) {
/// reopen Hive
redirect($CFG->wwwroot.'/mod/resource/type/repository/hive/openhive.php');
} else {
redirect($CFG->wwwroot.'/sso/hive/expired.php');
}
?>