0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/auth
Katharina Irrgang 319a388277 ghost auth: sync email (#8027)
*   ghost auth: sync email

refs #7452

- sync email changes in background (every hour right now)
- sync logged in user only!
- no sync if auth strategy password is used
- GET /users/me is triggered on every page refresh
- added TODO to support or add long polling for syncing data later
- no tests yet on purpose, as i would like to get a basic review first

* 🐩  use events

- remember sync per user
2017-02-23 18:04:24 +00:00
..
auth-strategies.js 🎨 validate ghost profile/token response (#7761) 2017-01-31 11:04:09 +01:00
authenticate.js 🎨 tidy up static id (owner, internal, external) usages (#7675) 2016-11-09 15:01:07 +00:00
authorize.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
ghost-auth.js ghost auth: sync email (#8027) 2017-02-23 18:04:24 +00:00
index.js ghost auth: sync email (#8027) 2017-02-23 18:04:24 +00:00
oauth.js 🎨 increase token expiry (#7971) 2017-02-10 13:35:58 +00:00
passport.js Updates for alpha.13 (#8026) 2017-02-18 17:23:35 +01:00
sync.js ghost auth: sync email (#8027) 2017-02-23 18:04:24 +00:00