I had been reading through many pages about resetting password with token.
I understand it up to the point of getting the token from the link, $_GET['token'];
But i am not following after that, what do i do with the token? Do i just check if that exist in the database? Because i read on this link about cross referencing in the reset_password table, but i dont understand what that means. Looking for a some good options to send users reset password emails
Do i just check if the token exist and pick the email that is on the same row? Then i allow the user to reset password using that email?