mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Prevent logout loop on error
This commit is contained in:
parent
6d477aa6ec
commit
6ad92b9efd
1 changed files with 3 additions and 1 deletions
|
|
@ -149,7 +149,9 @@ export class AppUser extends AbstractApp {
|
||||||
}
|
}
|
||||||
|
|
||||||
logout() {
|
logout() {
|
||||||
Remote.request('Logout', () => rl.logoutReload(Settings.app('customLogoutLink')));
|
Remote.request('Logout', (iError, data) =>
|
||||||
|
iError ? alert(data) : rl.logoutReload(Settings.app('customLogoutLink'))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
bootstart() {
|
bootstart() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue