From e8d3b699704261e3763a08c19ddff754c878a842 Mon Sep 17 00:00:00 2001 From: sanchezvem Date: Tue, 14 Oct 2025 09:28:56 +0200 Subject: [PATCH] generation of salt --- ApiEfCoreLibrary/ApiEfCoreLibrary.csproj | 1 + ApiEfCoreLibrary/Endpoints/Login/CreateLoginEndpoint.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ApiEfCoreLibrary/ApiEfCoreLibrary.csproj b/ApiEfCoreLibrary/ApiEfCoreLibrary.csproj index ed5ce50..ec6d069 100644 --- a/ApiEfCoreLibrary/ApiEfCoreLibrary.csproj +++ b/ApiEfCoreLibrary/ApiEfCoreLibrary.csproj @@ -18,6 +18,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/ApiEfCoreLibrary/Endpoints/Login/CreateLoginEndpoint.cs b/ApiEfCoreLibrary/Endpoints/Login/CreateLoginEndpoint.cs index 3cb3621..c71ed2e 100644 --- a/ApiEfCoreLibrary/Endpoints/Login/CreateLoginEndpoint.cs +++ b/ApiEfCoreLibrary/Endpoints/Login/CreateLoginEndpoint.cs @@ -1,5 +1,6 @@ using ApiEfCoreLibrary.DTO.Login.Request; using ApiEfCoreLibrary.DTO.Login.Response; +using PasswordGenerator; namespace ApiEfCoreLibrary.Endpoints.Login; using FastEndpoints; @@ -14,7 +15,7 @@ public class CreateLoginEndpoint(LibraryDbContext database) : Endpoint