Throttle failed logins by target userid as well as IP #189
Annotations
6 errors and 2 warnings
build (16.x):
src/user.ts#L256
Property 'password' does not exist on type '{ userid: string; usernum: number; username: string; nonce: string | null; passwordhash: string | null; email: string | null; registertime: number; group: number; banstate: number; ip: string; avatar: number; logintime: number; loginip: string | null; }'.
|
build (16.x):
src/user.ts#L366
Property 'update' does not exist on type '{ count: number; time: number; userid: number; }'.
|
build (16.x):
src/user.ts#L371
Property 'userid' is missing in type '{ time: number; count: number; }' but required in type '{ count: number; time: number; userid: number; }'.
|
build (16.x):
src/user.ts#L433
Property 'update' does not exist on type '{ count: number; time: number; userid: number; }'.
|
build (16.x):
src/user.ts#L437
'attempts' is possibly 'undefined'.
|
build (16.x)
Process completed with exit code 2.
|
build (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, Zarel/setup-node@patch-1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, Zarel/setup-node@patch-1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|