Validator::extend('user_password', function ($attribute, $value, $parameters) {
return Hash::check($value, Auth::user()->password);
});
That's my solution.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community