Ghost/ghost/members-api
Rishabh Garg 2eac41b1f4
🐛 Fixed invalid email getting saved for members (#16021)
refs https://github.com/TryGhost/Team/issues/2235

We found some cases which can cause a site to have member emails that have invalid characters like `member@example.com�`. This happened due to the `validator` version used by Ghost not able to catch some specific cases as invalid email, allowing members to be created with them either via Admin or Importer or direct signup. Portal UI already blocked these email as invalid. This change:

- updates `@tryghost/validator` to include a latest version of email validator that catches these invalid cases
- doesn't allow member creation with invalid email like above
- doesn't allow existing member emails to be edited to invalid
2022-12-16 16:47:52 +05:30
..
lib 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30
test 🐛 Fixed broken redemption count for offers (#15954) 2022-12-07 14:30:11 +05:30
.eslintrc.js
index.js
package.json 🐛 Fixed invalid email getting saved for members (#16021) 2022-12-16 16:47:52 +05:30