[Web] add manage identity provider

This commit is contained in:
FreddleSpl0it
2023-03-14 14:10:46 +01:00
parent df129bb488
commit 8324484a27
17 changed files with 366 additions and 123 deletions

View File

@@ -1608,6 +1608,19 @@ if (isset($_GET['query'])) {
'version' => $GLOBALS['MAILCOW_GIT_VERSION']
));
break;
case "identity-provider":
if (identity_provider('test')){
echo json_encode(array(
'type' => 'success',
'msg' => 'connection successfull'
));
} else {
echo json_encode(array(
'type' => 'error',
'msg' => 'connection failed'
));
}
break;
}
}
break;