Update sample
This commit is contained in:
parent
2b34372689
commit
4aafafe6f9
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
|
using Microsoft.AspNetCore.Authentication;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Identity;
|
using Microsoft.AspNetCore.Identity;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
@ -10,7 +11,6 @@ using Microsoft.Extensions.Logging;
|
||||||
using IdentitySample.Models;
|
using IdentitySample.Models;
|
||||||
using IdentitySample.Models.ManageViewModels;
|
using IdentitySample.Models.ManageViewModels;
|
||||||
using IdentitySample.Services;
|
using IdentitySample.Services;
|
||||||
using Microsoft.AspNetCore.Authentication;
|
|
||||||
|
|
||||||
namespace IdentitySamples.Controllers
|
namespace IdentitySamples.Controllers
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@
|
||||||
<p>
|
<p>
|
||||||
@foreach (var provider in loginProviders)
|
@foreach (var provider in loginProviders)
|
||||||
{
|
{
|
||||||
<button type="submit" class="btn btn-default" name="provider" value="@provider.AuthenticationScheme" title="Log in using your @provider.Name account">@provider.Name</button>
|
<button type="submit" class="btn btn-default" name="provider" value="@provider.Name" title="Log in using your @provider.Name account">@provider.Name</button>
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue