@model NER.Models.IndexViewModel
@{
ViewBag.Title = "管理";
}
@ViewBag.Title.
@ViewBag.StatusMessage
變更您的帳戶設定
- 密碼:
-
[
@if (Model.HasPassword)
{
@Html.ActionLink("變更密碼", "ChangePassword")
}
else
{
@Html.ActionLink("建立", "SetPassword")
}
]
- 外部登入:
-
@Model.Logins.Count [
@Html.ActionLink("管理", "ManageLogins") ]
@*
電話號碼可以用來當成雙重要素驗證系統的第二個驗證要素。
如需設定此 ASP.NET 應用程式以使用簡訊支援雙重要素驗證的詳細資料,
請參閱此文章。
請在設定雙重要素驗證後取消註解以下區塊
*@
@*
- 電話號碼:
-
@(Model.PhoneNumber ?? "None")
@if (Model.PhoneNumber != null)
{
[ @Html.ActionLink("Change", "AddPhoneNumber") ]
using (Html.BeginForm("RemovePhoneNumber", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
[]
}
}
else
{
[ @Html.ActionLink("Add", "AddPhoneNumber")
}
*@
- 雙因素驗證:
-
未設定任何雙重要素驗證提供者。如需設定此 ASP.NET 應用程式以支援雙重要素驗證的詳細資料,
請參閱此文章。
@*@if (Model.TwoFactor)
{
using (Html.BeginForm("DisableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
已啟用
}
}
else
{
using (Html.BeginForm("EnableTwoFactorAuthentication", "Manage", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
已停用
}
}*@