@model Chruch.Net.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()
已停用
}
}*@