Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm360 committed Jun 2, 2023
1 parent 48fddcb commit 41f23e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/EthernaSSO.Domain/Models/ApiKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static string GetPrettyPrintedPlainKey(string plainKey, UserBase owner)
if (owner is null)
throw new ArgumentNullException(nameof(owner));

return $"{owner.Id}:{plainKey}";
return $"{owner.Id}.{plainKey}";
}

public static string GetRandomPlainKey()
Expand Down
1 change: 1 addition & 0 deletions src/EthernaSSO/EthernaSSO.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="5.0.4"> <!--Installed only to hide warning-->
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 41f23e4

Please sign in to comment.