mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-04-25 07:22:47 -05:00
fix(api): correct NEX password regex pattern in /v1/repair-uidhmac
This commit is contained in:
parent
e8c5008336
commit
2b3cd45de1
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user