Reputation: 331
What is the best way to reset password only with token?
Now it mades with token and email, I want to get an email by checking tocket in reminders table.
Thanks!
Update Resolved this by:
$email = DB::table(Config::get('auth.reminder.table'))->where('token', $token)->pluck('email');
Upvotes: 1
Views: 1847
Reputation: 143
Here's how I do password resets.
Not sure if this is right/wrong, but it works for me.
Upvotes: 2