@model IndexViewModel
@{
ViewData["Title"] = "Manage your account";
}
@ViewData["Title"].
@ViewData["StatusMessage"]
Change your account settings
- Password:
-
@if (Model.HasPassword)
{
[ Change ]
}
else
{
[ Create ]
}
- External Logins:
-
@Model.Logins.Count [ Manage ]
- Phone Number:
-
Phone Numbers can used as a second factor of verification in two-factor authentication.
See this article
for details on setting up this ASP.NET application to support two-factor authentication using SMS.
@(Model.PhoneNumber ?? "None")
@if (Model.PhoneNumber != null)
{
[ Change ]
}
else
{
[ Add ]
}
- Two-Factor Authentication:
-
@if (Model.TwoFactor)
{
}
else
{
}
- Authentication App:
-
@if (Model.AuthenticatorKey == null)
{
}
else
{
Your key is: @Model.AuthenticatorKey
}