mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 21:40:39 +03:00
2eac41b1f4
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 |
||
---|---|---|
.. | ||
controllers | ||
repositories | ||
services | ||
MembersAPI.js |