Password első felhasználó rögzítésénél hiba

This commit is contained in:
2026-01-21 12:59:56 +01:00
parent 6ea799dcdf
commit 0fd073755e
5 changed files with 10 additions and 5 deletions
@@ -34,6 +34,8 @@ namespace WorkFlowCheck.Common.Security
// Jelszó ellenőrzése
public static bool VerifyPassword(string storedPasswordHash, string inputPassword)
{
var inputPasswordHash = HashPassword(inputPassword);
byte[] hashBytes = Convert.FromBase64String(storedPasswordHash);
// Extract salt (first 16 bytes) and stored hash (next 32 bytes)