Password első felhasználó rögzítésénél hiba
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user