MGR: If an attempt to attach to a project fails because a setup cookie expires, null out the setup cookie value so that when the wizard prompts for credentials they are used instead.

This commit is contained in:
Rom Walton 2016-02-19 10:08:24 -05:00
parent bc38aa452a
commit 54c9226665
1 changed files with 1 additions and 0 deletions

View File

@ -501,6 +501,7 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
(ERR_BAD_EMAIL_ADDR == ao->error_num) ||
(ERR_BAD_PASSWD == ao->error_num)
) {
pWA->SetProjectSetupCookie(wxEmptyString);
SetProjectAccountNotFound(true);
} else {
SetProjectAccountNotFound(false);