From 2e0a6aee2d6aa67b27541aa3b4ffd63e39406de0 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sun, 26 May 2013 14:53:04 +0200 Subject: cleaned up a bit --- app/models/Access.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/Access.js b/app/models/Access.js index b9570e6..f4bee92 100644 --- a/app/models/Access.js +++ b/app/models/Access.js @@ -49,7 +49,6 @@ AccessSchema.methods = { var x = Math.floor(Math.random() * chars.length); token += chars.charAt(x); } - console.log('token ' + token); return token; } @@ -117,7 +116,6 @@ AccessSchema.statics = { checkAccess: function(user, project, permissions, callback) { if (typeof(permissions) === 'undefined') permissions = 0; - console.log('inni checkPermissions!') this.findOne({ user: user }) .where('project').equals(project) .where('permissions').gte(permissions) -- cgit v1.2.3