mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-29 04:33:25 +00:00
[Web] add manage identity provider
This commit is contained in:
1 parent
67c9c5b8ed
commit
6e9980bf0f
17 files changed
+364
-118
No files matched your search
@@ -1702,6 +1702,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;
|
||||
|
||||
Reference in new issue
Block a user