Skip to content

Commit

Permalink
sso MDL-19799 Added set_url call
Browse files Browse the repository at this point in the history
  • Loading branch information
samhemelryk committed Oct 16, 2009
1 parent f3a6cd6 commit 2e2f2d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sso/hive/expired.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php // $Id$
<?php
// expired.php - called by hive when the session has expired.

require('../../config.php');
Expand All @@ -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.');
?>
Expand Down

0 comments on commit 2e2f2d3

Please sign in to comment.