1 @model Projects.Models.IndexViewModel
3 ViewBag.Title = "Manage";
6 <h2>@ViewBag.Title.</h2>
8 <p class="text-success">@ViewBag.StatusMessage</p>
10 <h4>Change your account settings</h4>
12 <dl class="dl-horizontal">
16 @if (Model.HasPassword)
18 @Html.ActionLink("Change your password", "ChangePassword")
22 @Html.ActionLink("Create", "SetPassword")
26 <dt>External Logins:</dt>
29 @Html.ActionLink("Manage", "ManageLogins") ]
32 Phone Numbers can used as a second factor of verification in a two-factor authentication system.
34 See <a href="http://go.microsoft.com/fwlink/?LinkId=403804">this article</a>
35 for details on setting up this ASP.NET application to support two-factor authentication using SMS.
37 Uncomment the following block after you have set up two-factor authentication
40 <dt>Phone Number:</dt>
42 @(Model.PhoneNumber ?? "None") [
43 @if (Model.PhoneNumber != null)
45 @Html.ActionLink("Change", "AddPhoneNumber")
47 @Html.ActionLink("Remove", "RemovePhoneNumber")
51 @Html.ActionLink("Add", "AddPhoneNumber")
56 <dt>Two-Factor Authentication:</dt>
59 There are no two-factor authentication providers configured. See <a href="http://go.microsoft.com/fwlink/?LinkId=403804">this article</a>
60 for details on setting up this ASP.NET application to support two-factor authentication.
62 @*@if (Model.TwoFactor)
64 using (Html.BeginForm("DisableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
66 @Html.AntiForgeryToken()
68 <input type="submit" value="Disable" class="btn btn-link" />
74 using (Html.BeginForm("EnableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
76 @Html.AntiForgeryToken()
78 <input type="submit" value="Enable" class="btn btn-link" />