@model IdentitySample.Models.ManageLoginsViewModel @using Microsoft.AspNet.Http.Security @{ //TODO: Until we have a way to specify the layout page at application level. Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Manage your external logins"; }
@ViewBag.StatusMessage
@if (Model.CurrentLogins.Count > 0) {| @account.LoginProvider |
@if (ViewBag.ShowRemoveButton)
{
using (Html.BeginForm("RemoveLogin", "Manage"))
{
@Html.AntiForgeryToken()
@Html.Hidden("loginProvider", account.LoginProvider)
@Html.Hidden("providerKey", account.ProviderKey)
}
}
else
{
@:
}
|
@foreach (AuthenticationDescription p in Model.OtherLogins) { }