mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-10-01 06:38:00 -05:00
fix(api): correct NEX password regex pattern in /v1/repair-uidhmac
This commit is contained in:
@@ -23,7 +23,7 @@ router.post('/', async (request: express.Request, response: express.Response): P
|
||||
return;
|
||||
}
|
||||
|
||||
if (!nexPassword || !/^[0-9A-Za-z]{16}$/.test(nexPassword)) {
|
||||
if (!nexPassword || !/^[\x21-\x5B\x5D-\x7D]{16}$/.test(nexPassword)) {
|
||||
response.status(400).json({
|
||||
app: 'api',
|
||||
status: 400,
|
||||
|
||||
Reference in New Issue
Block a user