ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
login-admin.php
Go to the documentation of this file.
1
<?
php
2
/*
3
* Helper page for starting a admin login. Can be used as a target for links.
4
*/
5
6
if
(!array_key_exists(
'ReturnTo'
, $_REQUEST)) {
7
throw
new
SimpleSAML_Error_BadRequest
(
'Missing ReturnTo parameter.'
);
8
}
9
10
SimpleSAML\Utils\Auth::requireAdmin
();
11
12
\SimpleSAML\Utils\HTTP::redirectUntrustedURL
($_REQUEST[
'ReturnTo'
]);
13
SimpleSAML\Utils\Auth\requireAdmin
static requireAdmin()
Require admin access to the current page.
Definition:
Auth.php:60
SimpleSAML\Utils\HTTP\redirectUntrustedURL
static redirectUntrustedURL($url, $parameters=array())
This function redirects to the specified URL after performing the appropriate security checks on it...
Definition:
HTTP.php:991
SimpleSAML_Error_BadRequest
Definition:
BadRequest.php:12
php
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
core
www
login-admin.php
Generated on Thu Jan 16 2025 19:01:56 for ILIAS by
1.8.13 (using
Doxyfile
)