trashposs/packages/backend
Johann150 0738a65a78 enhance: replace signin CAPTCHA with rate limit (#8740)
* enhance: rate limit works without signed in user

* fix: make limit key required for limiter

As before the fallback limiter key will be set from the endpoint name.

* enhance: use limiter for signin

* Revert "CAPTCHA求めるのは2fa認証が無効になっているときだけにした"

This reverts commit 02a43a310f6ad0cc9e9beccc26e51ab5b339e15f.

* Revert "feat: make captcha required when signin to improve security"

This reverts commit b21b0580058c14532ff3f4033e2a9147643bfca6.

* fix undefined reference

* fix: better error message

* enhance: only handle prefix of IPv6
2022-05-28 12:06:47 +09:00
..
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets feat: use instance icon for splash screen 2022-03-09 23:00:28 +09:00
migration hotfix: uniform color migration fix 2022-05-19 15:42:55 +02:00
src enhance: replace signin CAPTCHA with rate limit (#8740) 2022-05-28 12:06:47 +09:00
test refactor: use === 2022-05-25 23:19:39 +09:00
.eslintignore use eslint 2021-11-12 10:35:41 +09:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
.mocharc.json Update .mocharc.json 2022-05-21 22:24:57 +09:00
.npmrc refactoring 2021-11-12 02:02:25 +09:00
.yarnrc use eslint 2021-11-12 10:35:41 +09:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
package.json use http-signature module that supports hs2019 (#8635) 2022-05-26 09:12:17 +09:00
tsconfig.json update node to 18 2022-04-23 12:37:44 +09:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00
yarn.lock use http-signature module that supports hs2019 (#8635) 2022-05-26 09:12:17 +09:00