PHP Classes

File: web/SSO/modules/core/www/login-admin.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   ???   Download  
File: web/SSO/modules/core/www/???
Role: Example script
Content typex: text/plain
Description: Example script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 9 years ago
Size: 321 bytes
 

Contents

Class file image Download
<?php
/*
 * Helper page for starting a admin login. Can be used as a target for links.
 */

if (!array_key_exists('ReturnTo', $_REQUEST)) {
    throw new
SimpleSAML_Error_BadRequest('Missing ReturnTo parameter.');
}

SimpleSAML_Utilities::requireAdmin();

SimpleSAML_Utilities::redirectUntrustedURL($_REQUEST['ReturnTo']);