@model IdentitySample.Models.LoginViewModel @using System.Collections.Generic @using Microsoft.AspNet.Http @using Microsoft.AspNet.Http.Authentication @{ //TODO: Until we have a way to specify the layout page at application level. Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.Title = "Log in"; }
@Html.ActionLink("Register a new user?", "Register")
@Html.ActionLink("Forget your password?", "ForgotPassword")
}
Use another service to log in.
@{ if (ViewBag.LoginProviders.Count == 0) {
There are no external authentication services configured. See this article for details on setting up this ASP.NET application to support logging in via external services.
@foreach (AuthenticationDescription p in ViewBag.LoginProviders) { }