Ghost/ghost/members-api/lib/controllers
Rishabh Garg 1bf70bf3c6
Stored geolocation for member on creation (#15320)
refs https://github.com/TryGhost/Team/issues/1826

Geolocation was prev. loaded after member was created and updated on existing member. this was mostly due to historical context where we couldn't store data on magic link token.
Since email alerts go out at the time of member creation, this flow missed out on attaching member's location to email. 
This change -

- stores request ip when a member asks for magic link in the token
- loads request ip from token when member uses magic link, and for new members loads their geolocation and stores it with member creation
2022-08-26 00:45:34 +05:30
..
member.js Updated Frontend API to work with Tier & Cadence (#399) 2022-05-16 19:27:23 +01:00
router.js Stored geolocation for member on creation (#15320) 2022-08-26 00:45:34 +05:30
well-known.js Use @tryghost/logging instead of injected argument 2021-12-02 14:46:58 +00:00