Passage à ASP.NET vNext
This commit is contained in:
parent
ea90fefc31
commit
388b004837
1929 changed files with 104611 additions and 235941 deletions
19
Yavsc/Views/Shared/Logout.cshtml
Normal file
19
Yavsc/Views/Shared/Logout.cshtml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="jumbotron">
|
||||
<h1>Log out</h1>
|
||||
<p class="lead text-left">Are you sure you want to sign out?</p>
|
||||
|
||||
@if (Model.Item2 != null && Model.Item2.Identity != null) {
|
||||
<p class="lead text-left">Connected user: @Model.Item2.Identity.Name</p>
|
||||
}
|
||||
|
||||
<form action="/connect/logout" enctype="application/x-www-form-urlencoded" method="post">
|
||||
@Html.AntiForgeryToken()
|
||||
|
||||
@* Flow the logout request *@
|
||||
@foreach (var parameter in Model.Item1.Parameters) {
|
||||
<input type="hidden" name="@parameter.Key" value="@parameter.Value" />
|
||||
}
|
||||
|
||||
<input class="btn btn-lg btn-success" name="Authorize" type="submit" value="Yeah, sure" />
|
||||
</form>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue