redirects to correct challenge upon authentication

This commit is contained in:
Michael Q Larson
2014-11-06 23:01:01 -08:00
parent e36a98cf2a
commit ca0c71b77f
3 changed files with 13 additions and 8 deletions

View File

@ -13,7 +13,7 @@ var userSchema = new mongoose.Schema({
google: String,
instagram: String,
tokens: Array,
challengesCompleted: Array,
challengesCompleted: { type: Array, default: [] },
profile: {
name: { type: String, default: '' },