Fixed bug Identity.API
This commit is contained in:
parent
e22f980184
commit
cafefc6090
@ -1,7 +1,6 @@
|
|||||||
namespace Microsoft.eShopOnContainers.Services.Identity.API.Data
|
namespace Microsoft.eShopOnContainers.Services.Identity.API.Data
|
||||||
{
|
{
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
public class ApplicationDbContextSeed
|
public class ApplicationDbContextSeed
|
||||||
{
|
{
|
||||||
private readonly IPasswordHasher<ApplicationUser> _passwordHasher = new PasswordHasher<ApplicationUser>();
|
private readonly IPasswordHasher<ApplicationUser> _passwordHasher = new PasswordHasher<ApplicationUser>();
|
||||||
@ -44,7 +43,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<ApplicationUser> GetUsersFromFile(string contentRootPath, Microsoft.Extensions.Logging.ILogger logger)
|
private IEnumerable<ApplicationUser> GetUsersFromFile(string contentRootPath, ILogger logger)
|
||||||
{
|
{
|
||||||
string csvFileUsers = Path.Combine(contentRootPath, "Setup", "Users.csv");
|
string csvFileUsers = Path.Combine(contentRootPath, "Setup", "Users.csv");
|
||||||
|
|
||||||
@ -178,7 +177,7 @@
|
|||||||
return csvheaders;
|
return csvheaders;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void GetPreconfiguredImages(string contentRootPath, string webroot, Microsoft.Extensions.Logging.ILogger logger)
|
static void GetPreconfiguredImages(string contentRootPath, string webroot, ILogger logger)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces
|
namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces
|
||||||
{
|
{
|
||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
public class DevspacesRedirectUriValidator : IRedirectUriValidator
|
public class DevspacesRedirectUriValidator : IRedirectUriValidator
|
||||||
{
|
{
|
||||||
private readonly Microsoft.Extensions.Logging.ILogger _logger;
|
private readonly ILogger _logger;
|
||||||
public DevspacesRedirectUriValidator(ILogger<DevspacesRedirectUriValidator> logger)
|
public DevspacesRedirectUriValidator(ILogger<DevspacesRedirectUriValidator> logger)
|
||||||
{
|
{
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user