sso MDL-19799 Added set_url call

This commit is contained in:
samhemelryk 2009-10-16 03:23:42 +00:00
parent f3a6cd67d5
commit 2e2f2d3444

View File

@ -1,4 +1,4 @@
<?php // $Id$
<?php
// expired.php - called by hive when the session has expired.
require('../../config.php');
@ -9,6 +9,7 @@
//MW theres no easy way to log in seamlessly. We need the users unhashed password.
// It's a security risk to carry that in $SESSION so we put up login form.
$PAGE->set_url(new moodle_url($CFG->wwwroot.'/sso/hive/expired.php'));
echo $OUTPUT->header();
echo $OUTPUT->notification('Your session has expired. Please log in again.');
?>