mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
fix(onboarding): Change error notification for endpoint changes
This commit is contained in:
parent
1b6525910c
commit
19a4281bb4
1 changed files with 4 additions and 6 deletions
|
@ -394,12 +394,10 @@ class AccountSettingsPage extends React.Component
|
|||
errorFieldNames = err.body?.missing_fields || err.body?.missing_settings
|
||||
|
||||
if err.errorTitle is "setting_update_error"
|
||||
choice = dialog.showMessageBox(remote.getCurrentWindow(), {
|
||||
type: 'info',
|
||||
buttons: ['Okay'],
|
||||
title: 'Confirm',
|
||||
message: 'The IMAP/SMTP servers for this account do not match our records. Please verify that any server names you entered are correct. If your IMAP/SMTP server has changed, first remove this account from N1, then try logging in again.'
|
||||
})
|
||||
@setState
|
||||
tryingToAuthenticate: false
|
||||
errorMessage: 'The IMAP/SMTP servers for this account do not match our records. Please verify that any server names you entered are correct. If your IMAP/SMTP server has changed, first remove this account from N1, then try logging in again.'
|
||||
@_resize()
|
||||
OnboardingActions.moveToPage("account-settings")
|
||||
|
||||
if errorFieldNames
|
||||
|
|
Loading…
Reference in a new issue