skip to Main Content

API Password Change Issue – Laravel 11.x

I'm working on a Laravel project, and I've created a password change API. Here's the route I'm using: Route::post('/change-password', function (Request $request) { // Validate the request data $request->validate([ 'current_password' => 'required|string', 'new_password' => 'required|string|confirmed|min:8', ]); // Check if the…

VIEW QUESTION
Back To Top
Search