handle MustConfirmEmail, fixes #41

This commit is contained in:
“Carson 2020-10-12 13:12:11 -04:00
parent 812683c624
commit 08ba664bfc

View file

@ -418,6 +418,10 @@ namespace SteamGuard
linker.PhoneNumber = phonenumber; linker.PhoneNumber = phonenumber;
} while (!PhoneNumberOkay(phonenumber)); } while (!PhoneNumberOkay(phonenumber));
break; break;
case AuthenticatorLinker.LinkResult.MustConfirmEmail:
Console.WriteLine("Check your email. Before continuing, click the link in the email to confirm your phone number. Press enter to continue...");
Console.ReadLine();
break;
case AuthenticatorLinker.LinkResult.MustRemovePhoneNumber: case AuthenticatorLinker.LinkResult.MustRemovePhoneNumber:
linker.PhoneNumber = null; linker.PhoneNumber = null;
break; break;