code example come from this
I confused on example code I didn't login and click link from email and get user id from?
$user = Sentry::findUserById(1);
the example it not clear I found another function
$user = Sentry::findUserByResetPasswordCode($code);