Browse Source

Fixed bug Identity.API

pull/1770/head
Sumit Ghosh 3 years ago
parent
commit
cafefc6090
2 changed files with 6 additions and 5 deletions
  1. +3
    -4
      src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs
  2. +3
    -1
      src/Services/Identity/Identity.API/Devspaces/DevspacesRedirectUriValidator.cs

+ 3
- 4
src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs View File

@ -1,7 +1,6 @@
namespace Microsoft.eShopOnContainers.Services.Identity.API.Data
{
using Microsoft.Extensions.Logging;
public class ApplicationDbContextSeed
{
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");
@ -178,7 +177,7 @@
return csvheaders;
}
static void GetPreconfiguredImages(string contentRootPath, string webroot, Microsoft.Extensions.Logging.ILogger logger)
static void GetPreconfiguredImages(string contentRootPath, string webroot, ILogger logger)
{
try
{


+ 3
- 1
src/Services/Identity/Identity.API/Devspaces/DevspacesRedirectUriValidator.cs View File

@ -1,8 +1,10 @@
namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces
{
using Microsoft.Extensions.Logging;
public class DevspacesRedirectUriValidator : IRedirectUriValidator
{
private readonly Microsoft.Extensions.Logging.ILogger _logger;
private readonly ILogger _logger;
public DevspacesRedirectUriValidator(ILogger<DevspacesRedirectUriValidator> logger)
{
_logger = logger;


Loading…
Cancel
Save