Skip to content

Commit 71aef4a

Browse files
authored
Fix disable two-factor authentication button (#13895)
1 parent bf2905f commit 71aef4a

File tree

1 file changed

+1
-1
lines changed
  • src/OrchardCore.Modules/OrchardCore.Users/Views/TwoFactorAuthentication

1 file changed

+1
-1
lines changed

src/OrchardCore.Modules/OrchardCore.Users/Views/TwoFactorAuthentication/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
@if (Model.CanDisableTwoFa)
5555
{
56-
<a asp-action="Disable2fa" class="btn btn-primary">@T["Disable two-factor authentication"]</a>
56+
<a asp-action="DisableTwoFactorAuthentication" class="btn btn-primary">@T["Disable two-factor authentication"]</a>
5757
}
5858

5959
<a asp-action="GenerateRecoveryCodes" class="btn btn-primary">@T["Reset recovery codes"]</a>

0 commit comments

Comments
 (0)