Add delete-all-data endpoint to auth API for user data removal
Despliegue Automático / desplegar (push) Successful in 1m7s

This commit is contained in:
2026-05-20 17:25:46 +02:00
parent a44f7a8253
commit 87cde27436
4 changed files with 72 additions and 2 deletions
+3
View File
@@ -14,4 +14,7 @@ router.post('/refresh', authController.refresh);
// POST /api/auth/logout
router.post('/logout', authController.logout);
// POST /api/auth/delete-all-data
router.post('/delete-all-data', authController.deleteAllData);
module.exports = router;