I was hoping there was hook_user_pass_reset, but I seem to be out of luck. Some background:
- I made a new field on users called "email_confirmed"
- This field gets set = 1 when the user has confirmed their email address
- I don't use the "blocked" value, or the normal Drupal way, because I want users to still log in and do stuff. I only want to limit certain actions, which will only become possible after email_confirmed = 1
So all I want to do is update this field = 1, the moment the user uses the confirmation link to change their password. So it will not be good enough to this when the user changes his password. It needs to happen the moment the user has executed the confirmation link?