mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Improved the Switch account system for better feedback to user
This commit is contained in:
parent
597ea21b70
commit
739aeaded5
42 changed files with 76 additions and 49 deletions
|
|
@ -99,7 +99,7 @@ class LoginUserView extends AbstractViewLogin {
|
|||
this.submitRequest(true);
|
||||
data.set('Language', this.bSendLanguage ? this.language() : '');
|
||||
data.set('SignMe', this.signMe() ? 1 : 0);
|
||||
Remote.login(
|
||||
Remote.defaultRequest(
|
||||
(iError, oData) => {
|
||||
if (iError) {
|
||||
this.submitRequest(false);
|
||||
|
|
@ -114,7 +114,7 @@ class LoginUserView extends AbstractViewLogin {
|
|||
// rl.route.reload();
|
||||
}
|
||||
},
|
||||
data
|
||||
'Login', data
|
||||
);
|
||||
|
||||
Local.set(ClientSideKeyName.LastSignMe, this.signMe() ? '-1-' : '-0-');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue