✨ delete finished todos
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user