Skip to content

Commit

Permalink
Merge pull request #93 from PasinduPrabhashitha/feat/orderapproved
Browse files Browse the repository at this point in the history
feat ✨ : update seed users service and nuget feed accesss token
  • Loading branch information
pasindu-pr authored May 10, 2023
2 parents 0ae6459 + bce3c4a commit 52ffc58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/Florage.Authentication/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["./src/services/Florage.Authentication/Florage.Authentication.csproj", "."]
RUN dotnet nuget add source "https://nuget.pkg.github.com/PasinduPrabhashitha/index.json" --name "githubfeed" --username "PasinduPrabhashitha" --password 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 --store-password-in-clear-text
RUN dotnet nuget add source "https://nuget.pkg.github.com/PasinduPrabhashitha/index.json" --name "githubfeed" --username "PasinduPrabhashitha" --password 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 --store-password-in-clear-text
RUN dotnet restore "./Florage.Authentication.csproj"
COPY ./src/services/Florage.Authentication/. .
WORKDIR "/src/."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public async Task<IdentityResult> AddUserToSellerRole(string userId)
public async Task<IdentityResult> SeedRolesAndUsers()
{
await AddRequiredRoles();
UserRegisterDto defaultUser = new UserRegisterDto { Email = "[email protected]", Password = "Ss$iNhCb3FWwB8Dz%zwTg!PS" };
UserRegisterDto defaultUser = new UserRegisterDto { UserName="FlorageAdmin", Email = "[email protected]", Password = "Ss$iNhCb3FWwB8Dz%zwTg!PS", PhoneNumber="772345677" };

IdentityResult identityResult = await _authService.RegisterAsync(defaultUser);

Expand Down

0 comments on commit 52ffc58

Please sign in to comment.