Browse Source

fix: #5162

pull/5200/head
Ahmet Çotur 6 years ago
parent
commit
fc9912e0e6
  1. 4
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml

4
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/Pages/Index.cshtml

@ -21,9 +21,7 @@
<p>@L["LongWelcomeMessage"]</p> <p>@L["LongWelcomeMessage"]</p>
@if (!CurrentUser.IsAuthenticated) @if (!CurrentUser.IsAuthenticated)
{ {
<form method="POST"> <a abp-button="Primary" href="~/Account/Login" class="px-4"><i class="fa fa-sign-in"></i> @L["Login"]</a>
<input type="submit" asp-page-handler="Login" value="LOGIN" class="btn btn-login" />
</form>
} }
<hr /> <hr />
<p class="text-right"><a href="https://abp.io?ref=tmpl" target="_blank">abp.io</a></p> <p class="text-right"><a href="https://abp.io?ref=tmpl" target="_blank">abp.io</a></p>

Loading…
Cancel
Save