Skip to content

Commit

Permalink
Merge pull request #76 from madeyoga/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
madeyoga authored Jul 27, 2022
2 parents eb98539 + 57dbfde commit 2da4dbe
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 363 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public virtual async Task<IResult> TwoStepVerificationLogin([FromBody] TwoStepVe
// return BadRequest();
//}

TUser? user = await authenticator.Authenticate(request.Username, request.Password);
TUser? user = await authenticator.Authenticate(request.Username!, request.Password!);

if (user == null)
{
Expand Down
7 changes: 4 additions & 3 deletions src/AuthEndpoints/AuthEndpoints.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Description>A simple auth library for Asp.Net 6 that provides a set of web api controllers and minimal api endpoints to handle authentication actions</Description>
<Version>1.4.7</Version>
<Version>1.4.8</Version>
<Authors>yeogaa02</Authors>
<Company>yeogaa02</Company>
<PackageProjectUrl>https://github.com/madeyoga/AuthEndpoints</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/madeyoga/AuthEndpoints</RepositoryUrl>
<PackageTags>jwt;json-web-token;endpoints;asp-net-core;2fa</PackageTags>
<PackageReleaseNotes>Using core 1.4.3</PackageReleaseNotes>
<PackageReleaseNotes>Using core 1.4.4 and fix possible null reference warning and include minimal api</PackageReleaseNotes>
<AssemblyVersion></AssemblyVersion>
<FileVersion></FileVersion>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
Expand All @@ -32,7 +32,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AuthEndpoints.Core" Version="1.4.3" />
<PackageReference Include="AuthEndpoints.Core" Version="1.4.4" />
<PackageReference Include="AuthEndpoints.MinimalApi" Version="1.4.4" />
</ItemGroup>

</Project>
347 changes: 0 additions & 347 deletions src/AuthEndpoints/Controllers/BaseEndpointsController.cs

This file was deleted.

Loading

0 comments on commit 2da4dbe

Please sign in to comment.