shibboleth authentication module #4554: allow to bypass automatic redirect

skala
Laurent Opprecht 13 years ago
parent 453ce90872
commit 8470d127f0
  1. 2
      main/auth/shibboleth/app/controller/shibboleth_controller.class.php
  2. 6
      main/auth/shibboleth/app/view/shibboleth_display.class.php

@ -31,7 +31,7 @@ class ShibbolethController
if (Shibboleth::session()->is_logged_in())
{
Shibboleth::redirect();
Redirect::home();
}
$user = Shibboleth::store()->get_user();

@ -25,8 +25,6 @@ class ShibbolethDisplay
public function error_page($message)
{
$include_path = api_get_path(INCLUDE_PATH);
require("$include_path/local.inc.php");
$page_title = get_lang('page_title');
Display :: display_header($page_title);
@ -37,8 +35,6 @@ class ShibbolethDisplay
public function message_page($message, $title = '')
{
$include_path = api_get_path(INCLUDE_PATH);
require("$include_path/local.inc.php");
$title = $title ? $title : get_lang('page_title');
Display :: display_header($title);
@ -49,8 +45,6 @@ class ShibbolethDisplay
public function page($content, $title = '')
{
$include_path = api_get_path(INCLUDE_PATH);
require("$include_path/local.inc.php");
$title = $title ? $title : get_lang('page_title');
Display :: display_header($title);

Loading…
Cancel
Save