mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 11:52:34 +08:00
fix(onboarding): Change error notification for endpoint changes
This commit is contained in:
parent
5c48464691
commit
d098c96653
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