This commit is contained in:
the-djmaze 2022-03-09 13:11:28 +01:00
parent f4cd25f8ad
commit accf860796
4 changed files with 22 additions and 3 deletions

View file

@ -259,7 +259,14 @@ class AppUser extends AbstractApp {
}
logout() {
Remote.request('Logout', () => rl.logoutReload());
Remote.request('Logout', () => {
const customLogoutLink = Settings.app('customLogoutLink');
if (customLogoutLink) {
((window.parent && Settings.app('inIframe')) ? window.parent : window).location.href = customLogoutLink;
} else {
rl.logoutReload()
}
});
}
bootstart() {