Skip to content

Commit 840e10d

Browse files
xt0rtedTratcher
authored andcommitted
Fix spelling of hyphens (#18130)
1 parent 8b000d9 commit 840e10d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Identity/UI/src/Areas/Identity/Pages/V3/Account/Manage/EnableAuthenticator.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public override async Task<IActionResult> OnPostAsync()
128128
return Page();
129129
}
130130

131-
// Strip spaces and hypens
131+
// Strip spaces and hyphens
132132
var verificationCode = Input.Code.Replace(" ", string.Empty).Replace("-", string.Empty);
133133

134134
var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(

src/Identity/UI/src/Areas/Identity/Pages/V4/Account/Manage/EnableAuthenticator.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public override async Task<IActionResult> OnPostAsync()
128128
return Page();
129129
}
130130

131-
// Strip spaces and hypens
131+
// Strip spaces and hyphens
132132
var verificationCode = Input.Code.Replace(" ", string.Empty).Replace("-", string.Empty);
133133

134134
var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(

src/Security/samples/Identity.ExternalClaims/Pages/Account/Manage/EnableAuthenticator.cshtml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public async Task<IActionResult> OnPostAsync()
8080
return Page();
8181
}
8282

83-
// Strip spaces and hypens
83+
// Strip spaces and hyphens
8484
var verificationCode = Input.Code.Replace(" ", string.Empty).Replace("-", string.Empty);
8585

8686
var is2faTokenValid = await _userManager.VerifyTwoFactorTokenAsync(

0 commit comments

Comments
 (0)