Skip to content

Commit 7743057

Browse files
Apply suggestions from code review
Co-authored-by: Esha Noronha <82437098+eshanrnh@users.noreply.github.com>
1 parent 0391c15 commit 7743057

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

16/umbraco-cms/reference/security/two-factor-authentication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ If you already have a members-only page with the edit profile options, you can s
209209
{
210210
@using (Html.BeginUmbracoForm<UmbTwoFactorLoginController>(nameof(UmbTwoFactorLoginController.ValidateAndSaveSetup)))
211211
{
212-
<h3>Setup @providerName</h3>
212+
<h3>Setup @provider.ProviderName</h3>
213213
<img src="@qrCodeSetupData.SetupCode.QrCodeSetupImageUrl"/>
214214
<p>Scan the code above with your authenticator app <br /> and enter the resulting code here to validate:</p>
215-
<input type="hidden" name="providerName" value="@providerName" />
215+
<input type="hidden" name="providerName" value="@provider.ProviderName" />
216216
<input type="hidden" name="secret" value="@qrCodeSetupData.Secret" />
217217
<input type="text" name="code" />
218218
<button type="submit">Validate & save</button>
@@ -225,8 +225,8 @@ If you already have a members-only page with the edit profile options, you can s
225225
{
226226
@using (Html.BeginUmbracoForm<UmbTwoFactorLoginController>(nameof(UmbTwoFactorLoginController.Disable)))
227227
{
228-
<input type="hidden" name="providerName" value="@providerName"/>
229-
<button type="submit">Disable @providerName</button>
228+
<input type="hidden" name="providerName" value="@provider.ProviderName" />
229+
<button type="submit">Disable @provider.ProviderName</button>
230230
}
231231
}
232232
}

0 commit comments

Comments
 (0)