mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-09-30 22:28:00 -05:00
Fixed password not referenced in PNID creation on console
This commit is contained in:
@@ -99,7 +99,7 @@ router.post('/', ratelimit, deviceCertificateMiddleware, async (request, respons
|
||||
|
||||
await nexAccount.save({ session });
|
||||
|
||||
const primaryPasswordHash = util.nintendoPasswordHash(password, nexAccount.get('pid'));
|
||||
const primaryPasswordHash = util.nintendoPasswordHash(person.get('password'), nexAccount.get('pid'));
|
||||
const passwordHash = await bcrypt.hash(primaryPasswordHash, 10);
|
||||
|
||||
pnid = new PNID({
|
||||
|
||||
Reference in New Issue
Block a user