mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
1bf70bf3c6
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 |
||
---|---|---|
.. | ||
member.js | ||
router.js | ||
well-known.js |