mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Resolve #278
This commit is contained in:
parent
f4cd25f8ad
commit
accf860796
4 changed files with 22 additions and 3 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue