-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
After generating a sequelize enabled project I encountered some problems:
-
when changing password for a local user it seems the new 'salt' field does not get updated in the sqlite Users table... probably because in the User.beforeUpdate() sequelize hook any fields updated there(like the salt) dont get into the SQL UPDATE query
in server/api/auth/facebook/passport.js ...
Searching for a specific facebook user profile using squelize is made in a wrong way because 'facebook' is just a DataTypes.TEXT in our model definition:
User.find({
where: {
'facebook.id': .......
}
})