diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-28 00:28:37 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-28 00:28:37 +0200 |
commit | 4ca2cc2066dbfa11b9375f4de485211e03b21da8 (patch) | |
tree | 574b99352ebb427d29c6bd6fbff4da50429407b0 /modules | |
parent | fa19dcd3b3cbd5bd5b380fc41066a68a02774090 (diff) |
Add auth on todo
Diffstat (limited to 'modules')
-rw-r--r-- | modules/todo/todo.js | 2 |
1 files changed, 1 insertions, 1 deletions
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"); }); |