Fix spelling of hyphens (#18130)

This commit is contained in:
Brian Surowiec 2020-01-05 11:50:29 -05:00 committed by Chris Ross
parent 8b000d961c
commit 840e10d45b
3 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ namespace Microsoft.AspNetCore.Identity.UI.V3.Pages.Account.Manage.Internal
return Page();
}
// Strip spaces and hypens
// Strip spaces and hyphens
var verificationCode = Input.Code.Replace(" ", string.Empty).Replace("-", string.Empty);
var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(

View File

@ -128,7 +128,7 @@ namespace Microsoft.AspNetCore.Identity.UI.V4.Pages.Account.Manage.Internal
return Page();
}
// Strip spaces and hypens
// Strip spaces and hyphens
var verificationCode = Input.Code.Replace(" ", string.Empty).Replace("-", string.Empty);
var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(

View File

@ -80,7 +80,7 @@ namespace Identity.ExternalClaims.Pages.Account.Manage
return Page();
}
// Strip spaces and hypens
// Strip spaces and hyphens
var verificationCode = Input.Code.Replace(" ", string.Empty).Replace("-", string.Empty);
var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(