summary refs log tree commit diff
path: root/api/src/routes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-16 17:42:17 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-16 17:42:17 +0200
commitecced11085c3c789933cba3d435d4f0d955a69a5 (patch)
tree4e27f67a78926c9c40a3111d425b747541a70280 /api/src/routes
parent:bug: fix release caxa start command (diff)
downloadserver-ecced11085c3c789933cba3d435d4f0d955a69a5.tar.xz
:sparkles: delete finished todos
Diffstat (limited to 'api/src/routes')
-rw-r--r--api/src/routes/auth/login.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/api/src/routes/auth/login.ts b/api/src/routes/auth/login.ts
index f55d5351..39ccf69c 100644
--- a/api/src/routes/auth/login.ts
+++ b/api/src/routes/auth/login.ts
@@ -9,8 +9,6 @@ import RateLimit from "../../middlewares/RateLimit";
 const router: Router = Router();
 export default router;
 
-// TODO: check if user is deleted --> prohibit login
-
 router.post(
 	"/",
 	check({
@@ -27,8 +25,6 @@ router.post(
 		const query: any[] = [{ phone: login }];
 		if (email) query.push({ email });
 
-		// TODO: Rewrite this to have the proper config syntax on the new method
-
 		const config = Config.get();
 
 		if (config.login.requireCaptcha && config.security.captcha.enabled) {