In laravel I want to check if user enter current password than check with that password which is store in database in that user data. If correct than continue otherwise give
auth()->attempt($request->only('email', 'password'))success() method to a div. If it is an error, show the error message inside the error() method to a div.