handle MustConfirmEmail, fixes #41
This commit is contained in:
parent
812683c624
commit
08ba664bfc
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue