diff options
Diffstat (limited to 'app/models/Access.js')
-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) |