diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-26 14:53:04 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-26 14:53:04 +0200 |
commit | 2e0a6aee2d6aa67b27541aa3b4ffd63e39406de0 (patch) | |
tree | 607bc8ae099ecf97605dd7089fefbf7f3289cc0e | |
parent | old logo (diff) | |
download | Divid-2e0a6aee2d6aa67b27541aa3b4ffd63e39406de0.tar.gz |
cleaned up a bit
-rw-r--r-- | app/models/Access.js | 2 |
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) |