models match db column name

pull/31/head
unknown 2018-11-19 15:34:13 -05:00
parent 0109bfd3c0
commit f0b5b763d4
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ module.exports = {
required: true
},
password: 'string',
accessToken: 'string',
accesstoken: 'string',
provider: 'string',
identifier: 'string',
tokens: 'json',

View File

@ -54,7 +54,7 @@ module.exports.protocols = {
protocol: 'local',
password,
user: newUser.id,
accessToken: token
accesstoken: token
})
return next(null, token)
} catch (e) {