diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-11 19:42:10 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-11 19:42:10 +0200 |
commit | 408af9f80fbc2f2673a0bcaf8061e3bd90650016 (patch) | |
tree | 567b35ec748c5278faa71f6de6a1be2ca2ed4d76 /src/routes/auth/register.ts | |
parent | :pencil2: fix RateLimit onlyIp typo (diff) | |
download | server-408af9f80fbc2f2673a0bcaf8061e3bd90650016.tar.xz |
:pencil2: fix typo
Diffstat (limited to '')
-rw-r--r-- | src/routes/auth/register.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/auth/register.ts b/src/routes/auth/register.ts index eb5cd97d..0dd92e16 100644 --- a/src/routes/auth/register.ts +++ b/src/routes/auth/register.ts @@ -12,7 +12,7 @@ const router: Router = Router(); router.post( "/", - RateLimit({ count: 2, window: 60 * 60 * 12, onylIp: true, success: true }), + RateLimit({ count: 2, window: 60 * 60 * 12, onlyIp: true, success: true }), check({ username: new Length(String, 2, 32), // TODO: check min password length in config |