diff --git a/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx b/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx index 5b3db45eb..c744c869a 100644 --- a/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx +++ b/monkey/monkey_island/cc/ui/src/components/ui-components/IslandResetModal.tsx @@ -107,6 +107,10 @@ const IslandResetModal = (props: Props) => { if (res.status === 200) { return auth.authFetch('/api/clear-simulation-data', {method: 'POST'}) }}) + .then(res => { + if (res.status === 200) { + return auth.authFetch('/api/propagation-credentials/configured-credentials', {method: 'DELETE'}) + }}) .then(res => { if (res.status === 200) { return auth.authFetch('/api/island-mode', {method: 'POST', body: '{"mode": "unset"}'})