ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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:994
SimpleSAML_Error_BadRequest
Definition:
BadRequest.php:12
libs
composer
vendor
simplesamlphp
simplesamlphp
modules
core
www
login-admin.php
Generated on Sat Jan 18 2025 19:01:10 for ILIAS by
1.8.13 (using
Doxyfile
)