UI: Clear configured credentials on configuration reset

This commit is contained in:
Shreya Malviya 2022-07-13 18:57:58 +05:30
parent 1e9d193a6d
commit 6eed07dd36
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ class ConfigurePageComponent extends AuthComponent {
).then(() => { ).then(() => {
this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows) this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows)
this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux) this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux)
}); })
.then(this.authFetch('/api/propagation-credentials/configured-credentials', {method: 'DELETE'}));
}; };
removePBAfile(apiEndpoint, setFilenameFnc) { removePBAfile(apiEndpoint, setFilenameFnc) {