Open lifan0913 opened 1 year ago
In chapter 3 and chapter 4 user.model.js, email field is not set unique, if no unique: true field set. Thus can insert two user with the same email address. I find this may be a bug?
In chapter 3 and chapter 4 user.model.js, email field is not set unique, if no unique: true field set. Thus can insert two user with the same email address. I find this may be a bug?