7152-devToTest_2414 #2228

Merged
alexm merged 636 commits from 7152-devToTest_2414 into test 2024-03-28 08:26:34 +00:00
1 changed files with 12 additions and 13 deletions
Showing only changes of commit f2f6e7be0b - Show all commits

View File

@ -98,20 +98,19 @@ export default class Auth {
}
logout() {
this.$http.post('VnUsers/logoutMultimedia', null, {headers: {'Authorization': this.vnToken.tokenMultimedia},
}).then(({data}) => {
if (data) {
this.$http.post('VnUsers/logout', null, {
this.$http.post('Accounts/logout', null, {headers: {'Authorization': this.vnToken.tokenMultimedia},
});
let promise = this.$http.post('VnUsers/logout', null, {
headers: {Authorization: this.vnToken.token}
}).catch(() => {});
this.vnToken.unset();
this.loggedIn = false;
this.vnModules.reset();
this.aclService.reset();
this.$state.go('login');
}
});
return promise;
}
loadAcls() {