Is there a way to check if the token is invalid/expired without making the user fill out a form first?
You could manually query password_reminders table.
I meant is there a way using the Password class or similar? Doesn't appear to be but this would be nice to be able to just verify if a token is valid or expired before making the user fill out personal details etc.
Password::getRepository()->exists(user, token)
I discovered that the getRepository() method is actually set to protected, so the above code doesn't really work.
App::make("auth.reminder.repository")->exists($user, $token);
all of the solution presented requires $user , what if i just want to validate token like
Password::getRepository()->tokenExists(token)
@rajneeshojha have you figured out how this could be achieved?
Hi i dont have email i only have the token how can i then verify that token is valid and not expired i am using laravel 5.4.
In my case i solve the problem changing the type of "created_at" from date to timestamp.

Most helpful comment
Hi i dont have email i only have the token how can i then verify that token is valid and not expired i am using laravel 5.4.