aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-26 14:53:04 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-26 14:53:04 +0200
commit2e0a6aee2d6aa67b27541aa3b4ffd63e39406de0 (patch)
tree607bc8ae099ecf97605dd7089fefbf7f3289cc0e
parentold logo (diff)
downloadDivid-2e0a6aee2d6aa67b27541aa3b4ffd63e39406de0.tar.gz
cleaned up a bit
-rw-r--r--app/models/Access.js2
1 files changed, 0 insertions, 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)