summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-28 00:28:37 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-28 00:28:37 +0200
commit4ca2cc2066dbfa11b9375f4de485211e03b21da8 (patch)
tree574b99352ebb427d29c6bd6fbff4da50429407b0
parentfa19dcd3b3cbd5bd5b380fc41066a68a02774090 (diff)
Add auth on todo
-rw-r--r--modules/todo/todo.js2
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");
});