all posts runing by token

This commit is contained in:
arnaucode
2016-10-16 23:25:39 +02:00
parent cfa84bfa6d
commit 840d7de000
3 changed files with 167 additions and 115 deletions

View File

@@ -7,6 +7,7 @@ var mongooseUniqueValidator = require('mongoose-unique-validator');
var userSchema = new Schema({
username: { type: String, unique: true },
password: { type: String },
token: { type: String },
description: { type: String },
avatar: { type: String },
mail: { type: String },