Skip to content

Commit 61ea53d

Browse files
[Security/Core] Don't use ParagonIE_Sodium_Compat
1 parent 57d73fc commit 61ea53d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Security/Core/Encoder/Argon2iPasswordEncoder.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ public static function isSupported()
2626
return true;
2727
}
2828

29-
if (class_exists('ParagonIE_Sodium_Compat') && method_exists('ParagonIE_Sodium_Compat', 'crypto_pwhash_is_available')) {
30-
return \ParagonIE_Sodium_Compat::crypto_pwhash_is_available();
31-
}
32-
3329
return \function_exists('sodium_crypto_pwhash_str') || \extension_loaded('libsodium');
3430
}
3531

0 commit comments

Comments
 (0)