forked from p15670423/monkey
UI: Clear configured credentials on configuration reset
This commit is contained in:
parent
1e9d193a6d
commit
6eed07dd36
|
@ -236,7 +236,8 @@ class ConfigurePageComponent extends AuthComponent {
|
|||
).then(() => {
|
||||
this.removePBAfile(API_PBA_WINDOWS, this.setPbaFilenameWindows)
|
||||
this.removePBAfile(API_PBA_LINUX, this.setPbaFilenameLinux)
|
||||
});
|
||||
})
|
||||
.then(this.authFetch('/api/propagation-credentials/configured-credentials', {method: 'DELETE'}));
|
||||
};
|
||||
|
||||
removePBAfile(apiEndpoint, setFilenameFnc) {
|
||||
|
|
Loading…
Reference in New Issue