Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / sso / hive / login.php
blob5bd14c38668ccbd7d2da30dfb34528a71eb63a00
1 <?php // $Id$
2 // login.php - action of the login form put up by expired.php.
4 require('../../config.php');
6 require('lib.php');
8 require_login();
10 // get the login data
11 $frm = data_submitted('');
13 // log back into Hive
14 if (sso_user_login($frm->username, $frm->password)) {
16 /// reopen Hive
17 redirect($CFG->wwwroot.'/mod/resource/type/repository/hive/openlitebrowse.php');
18 } else {
19 redirect($CFG->wwwroot.'/sso/hive/expired.php');