Ghost/core/server/models
janvt e6662b6929 Add email validation in case of profile update (#7928)
closes #7256

- original code changes made by @golya in https://github.com/TryGhost/Ghost/pull/7304
- refactored edit method in user model to validate an existing email address
- added test coverage for existing email update in user model spec
2017-02-08 10:50:43 +01:00
..
base replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
plugins Fix access-rules plugin description comment (#7665) 2016-11-02 12:40:09 +01:00
accesstoken.js 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
client-trusted-domain.js Add table columns for OAuth 2015-09-02 13:39:22 +01:00
client.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
index.js 🎨 Separate invites from user 2016-09-26 11:08:43 +02:00
invite.js 🎨 invites roles table into a field on the invites table (#7705) 2016-11-16 09:33:44 +00:00
permission.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
post.js 🔥 😎 remove old migrations (#7887) 2017-01-25 13:47:49 +00:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
settings.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
subscriber.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
tag.js 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
user.js Add email validation in case of profile update (#7928) 2017-02-08 10:50:43 +01:00