OAuth Api call success
This commit is contained in:
@ -4,10 +4,16 @@
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
|
||||
<markdown>
|
||||
Quelques extension à un Markdown de base :
|
||||
Quelques extensions à un Markdown de base :
|
||||
|
||||
* les video et audio
|
||||
* le tag bug = Bug#542
|
||||
* le tag annonce = A#542
|
||||
* les video et audio: ``
|
||||
|
||||

|
||||
|
||||
à faire:
|
||||
|
||||
* le tag "Numéro de ticket": `Ticket#6854`
|
||||
* le tag "Titre d'article": `#1_great_title`
|
||||
* le tag "User" = `@@(007, it'sme)` ou `@@james`
|
||||
|
||||
</markdown>
|
||||
|
@ -56,23 +56,23 @@
|
||||
<hr/>
|
||||
<h2 class="lead text-left">@SR["Use another service to log in"]:</h2>
|
||||
@if (Model.ExternalProviders.Count() == 0)
|
||||
{
|
||||
<div>
|
||||
<p>
|
||||
There are no external authentication services configured. See <a href="http://go.microsoft.com/fwlink/?LinkID=532715">this article</a>
|
||||
for details on setting up this ASP.NET application to support logging in via external services.
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@foreach (var description in Model.ExternalProviders) {
|
||||
<form action="@Constants.ExternalLoginPath" method="post">
|
||||
{
|
||||
<div>
|
||||
<p>
|
||||
There are no external authentication services configured. See <a href="http://go.microsoft.com/fwlink/?LinkID=532715">this article</a>
|
||||
for details on setting up this ASP.NET application to support logging in via external services.
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
@foreach (var description in Model.ExternalProviders) {
|
||||
<form action="@Constants.LoginPath" method="post">
|
||||
<input type="hidden" name="Provider" value="@description.AuthenticationScheme" />
|
||||
<input type="hidden" name="ReturnUrl" value="@Model.ReturnUrl" />
|
||||
<button class="btn btn-lg btn-success" type="submit" name="Submit.Login">@SR["Connect using"] @description.DisplayName</button>
|
||||
@Html.AntiForgeryToken()
|
||||
</form>
|
||||
}
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user