summary refs log tree commit diff
path: root/src/routes/auth/login.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/auth/login.ts')
-rw-r--r--src/routes/auth/login.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/auth/login.ts b/src/routes/auth/login.ts
index af00a46d..d7c6e833 100644
--- a/src/routes/auth/login.ts
+++ b/src/routes/auth/login.ts
@@ -12,7 +12,7 @@ export default router;
 // TODO: check if user is deleted/restricted
 router.post(
 	"/",
-	RateLimit({ count: 5, window: 60, onylIp: true }),
+	RateLimit({ count: 5, window: 60, onlyIp: true }),
 	check({
 		login: new Length(String, 2, 100), // email or telephone
 		password: new Length(String, 8, 72),