Skip to content

canary branch ...sequelize related multiple bugs #741

@misu200

Description

@misu200

After generating a sequelize enabled project I encountered some problems:

  1. 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': .......
  }
})

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions