@model IdentitySample.Models.IndexViewModel @{ //TODO: Until we have a way to specify the layout page at application level. Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Manage your account"; }

@ViewBag.Title.

@ViewBag.StatusMessage

@(Model.HasPassword ? Html.ActionLink("Change your password", "ChangePassword") : Html.ActionLink("Set your password", "SetPassword"))

Phone Number: @(Model.PhoneNumber ?? "None") [ @if (Model.PhoneNumber != null) { @Html.ActionLink("Change", "AddPhoneNumber") @:  |  @Html.ActionLink("Remove", "RemovePhoneNumber") } else { @Html.ActionLink("Add", "AddPhoneNumber") } ]

External Logins: @Model.Logins.Count @Html.ActionLink("[Manage]", "ManageLogins")

@if (Model.TwoFactor) { using (Html.BeginForm("DisableTFA", "Manage", FormMethod.Post, new {@class = "form-horizontal", role = "form"})) { @Html.AntiForgeryToken()

Two factor is currently enabled:

} } else { using (Html.BeginForm("EnableTFA", "Manage", FormMethod.Post, new {@class = "form-horizontal", role = "form"})) { @Html.AntiForgeryToken()

Two factor is currently disabled:

} } @if (Model.BrowserRemembered) { using (Html.BeginForm("ForgetBrowser", "Manage", FormMethod.Post, new {@class = "form-horizontal", role = "form"})) { @Html.AntiForgeryToken()

Browser is curently remembered for two factor:

} } else { using (Html.BeginForm("RememberBrowser", "Manage", FormMethod.Post, new {@class = "form-horizontal", role = "form"})) { @Html.AntiForgeryToken()

Browser is curently not remembered for two factor:

} }