Fixed PBKDF2DJANGO hash map

This commit is contained in:
DmitryRendov 2015-09-13 09:48:11 +00:00
parent 639a0482c2
commit 023e64c8d5

View File

@ -85,6 +85,7 @@ public class PasswordSecurity {
salt = BCRYPT.gensalt(8); salt = BCRYPT.gensalt(8);
userSalt.put(playerName, salt); userSalt.put(playerName, salt);
break; break;
case PBKDF2DJANGO:
case PBKDF2: case PBKDF2:
salt = createSalt(12); salt = createSalt(12);
userSalt.put(playerName, salt); userSalt.put(playerName, salt);