@*
Phone Numbers can used as a second factor of verification in a two-factor authentication system.
See this article
for details on setting up this ASP.NET application to support two-factor authentication using SMS.
Uncomment the following block after you have set up two-factor authentication
*@
@*
Phone Number:
@(If(Model.PhoneNumber, "None"))
@If (Model.PhoneNumber <> Nothing) Then
@
@[ @Html.ActionLink("Change", "AddPhoneNumber") ]
@Using Html.BeginForm("RemovePhoneNumber", "Manage", FormMethod.Post, New With {.class = "form-horizontal", .role = "form"})
@Html.AntiForgeryToken
@[]
End Using
Else
@[ @Html.ActionLink("Add", "AddPhoneNumber") ]
End If
*@
Two-Factor Authentication:
There are no two-factor authentication providers configured. See this article
for details on setting up this ASP.NET application to support two-factor authentication.
@*@if (Model.TwoFactor)
{
using (Html.BeginForm("DisableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
Enabled
}
}
else
{
using (Html.BeginForm("EnableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
Disabled
}
}*@