VoHoangSanh / CNPMNC

Công nghệ phần mềm năng cao năm 3
0 stars 0 forks source link

Login/Logout #21

Closed VoHoangSanh closed 2 hours ago

anhkhoi2011 commented 4 weeks ago

Locked out.

This account has been locked out, please try again later.

anhkhoi2011 commented 4 weeks ago
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken()

Use a local account to log in.


@Html.ValidationSummary(true, "", new { @class = "text-danger" })
@Html.LabelFor(m => m.Email, new { @class = "col-md-2 control-label" })
@Html.TextBoxFor(m => m.Email, new { @class = "form-control" }) @Html.ValidationMessageFor(m => m.Email, "", new { @class = "text-danger" })
@Html.LabelFor(m => m.Password, new { @class = "col-md-2 control-label" })
@Html.PasswordFor(m => m.Password, new { @class = "form-control" }) @Html.ValidationMessageFor(m => m.Password, "", new { @class = "text-danger" })
@Html.CheckBoxFor(m => m.RememberMe) @Html.LabelFor(m => m.RememberMe)

@Html.ActionLink("Register as a new user", "Register")

@* Enable this once you have account confirmation enabled for password reset functionality

@Html.ActionLink("Forgot your password?", "ForgotPassword")

*@ }
@Html.Partial("_ExternalLoginsListPartial", new ExternalLoginListViewModel { ReturnUrl = ViewBag.ReturnUrl })

@section Scripts { @Scripts.Render("~/bundles/jqueryval") }