Am I able to edit a users metadata during a hook event (specifically change-password-hook)? I have the below and it does not seem to work at all? I am checking after I complete a forgot password/reset password flow…
module.exports = function (user, context, cb) {
// Perform any asynchronous actions, e.g. send notification to Slack.
user.user_metadata.force_password_reset = "false";
cb();
};