Skip to content

Commit

Permalink
feat ✨ : update seed users service and nuget feed accesss token
Browse files Browse the repository at this point in the history
  • Loading branch information
pasindu-pr committed May 10, 2023
1 parent 0ae6459 commit bce3c4a
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 bce3c4a

Please sign in to comment.