mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +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 |
||
---|---|---|
.. | ||
controllers | ||
repositories | ||
services | ||
MembersAPI.js |