Merge branch 'nightly' into feature/sso

This commit is contained in:
Patrick Schult
2023-08-08 09:47:17 +02:00
committed by GitHub
96 changed files with 1849 additions and 951 deletions

View File

@@ -2,9 +2,9 @@
/*
see /api
*/
header('Content-Type: application/json');
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
cors("set_headers");
header('Content-Type: application/json');
error_reporting(0);
function api_log($_data) {
@@ -1966,6 +1966,8 @@ if (isset($_GET['query'])) {
break;
case "identity-provider-test":
process_edit_return(identity_provider('test', $attr));
case "cors":
process_edit_return(cors('edit', $attr));
break;
// return no route found if no case is matched
default: