From 4ca2cc2066dbfa11b9375f4de485211e03b21da8 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 28 Oct 2016 00:28:37 +0200 Subject: Add auth on todo --- modules/todo/todo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/todo') diff --git a/modules/todo/todo.js b/modules/todo/todo.js index 3a86e68..c748b01 100644 --- a/modules/todo/todo.js +++ b/modules/todo/todo.js @@ -35,7 +35,7 @@ var tasks=persist.getItemSync("tasks"); module.exports=function(app,io,_moddir){ moddir=_moddir; - // app.all(["/todo","/todo/*"],cmn.authgen()); + app.all(["/todo","/todo/*"],cmn.authgen()); app.get("/todo",function(req,res){ res.sendFile(moddir+"/todo.html"); }); -- cgit v1.2.3-70-g09d2