mirror of https://github.com/abpframework/abp.git
11 changed files with 34 additions and 61 deletions
@ -1,22 +0,0 @@ |
|||
@using Microsoft.Extensions.Primitives |
|||
@using Volo.Abp.OpenIddict.Localization |
|||
@using Microsoft.AspNetCore.Mvc.Localization |
|||
@model AuthorizeViewModel |
|||
@inject IHtmlLocalizer<AbpOpenIddictResource> L |
|||
|
|||
<div class="jumbotron"> |
|||
<h1>@L["LogOut"]</h1> |
|||
<p class="lead text-left">@L["AreYouSureYouWantToSignOut"]</p> |
|||
|
|||
<form method="post" action="~/connect/logout"> |
|||
@Html.AntiForgeryToken() |
|||
@* Flow the request parameters so they can be received by the LogoutPost action: *@ |
|||
@foreach (var parameter in Context.Request.HasFormContentType ? (IEnumerable<KeyValuePair<string, StringValues>>) Context.Request.Form : Context.Request.Query) |
|||
{ |
|||
<input type="hidden" name="@parameter.Key" value="@parameter.Value"/> |
|||
} |
|||
|
|||
<input class="btn btn-primary" name="accept" type="submit" value="@L["Accept"]"/> |
|||
<input class="btn btn-danger ms-1" name="deny" type="submit" value="@L["Deny"]"/> |
|||
</form> |
|||
</div> |
|||
Loading…
Reference in new issue