hi, i write some code in beforeLogin hook
Parse.Cloud.beforeLogin(async function (request) {
const query = new IP2Region({
disableIpv6: true,
});
const ipAddress = request.ip;
const result = await query.search(ipAddress);
request.object.set("ip", ipAddress);
request.object.set("city", result?.city);
request.object.set("loginDate", moment().format('YYYY-MM-DD HH:mm:ss'));
})
but the login user not changed whith loginDate or ip or city