mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Migrate to new default method for Argon2 Constructor.
This commit is contained in:
parent
c4a6dfcb59
commit
cdbb3a10eb
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ import java.util.UUID;
|
|||
import static me.kavin.piped.consts.Constants.mapper;
|
||||
|
||||
public class UserHandlers {
|
||||
private static final Argon2PasswordEncoder argon2PasswordEncoder = new Argon2PasswordEncoder();
|
||||
private static final Argon2PasswordEncoder argon2PasswordEncoder = Argon2PasswordEncoder.defaultsForSpringSecurity_v5_8();
|
||||
private static final BCryptPasswordEncoder bcryptPasswordEncoder = new BCryptPasswordEncoder();
|
||||
|
||||
public static byte[] registerResponse(String user, String pass) throws IOException {
|
||||
|
|
Loading…
Reference in a new issue