From bc489900a1d606b0bdca03fb140c5fd96bd3bb33 Mon Sep 17 00:00:00 2001 From: JunaidJaved8461 <72268940+JunaidJaved8461@users.noreply.github.com> Date: Sat, 10 Oct 2020 00:28:08 +0500 Subject: [PATCH] Issue Resolved Only updating Required request fields now!! I have checked the date_of_birth Issue from my end!! Its fine!! You can check it again I hope it will fine now --- packages/Webkul/API/Http/Controllers/Shop/SessionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/API/Http/Controllers/Shop/SessionController.php b/packages/Webkul/API/Http/Controllers/Shop/SessionController.php index f0f4f2450..eb9c34702 100644 --- a/packages/Webkul/API/Http/Controllers/Shop/SessionController.php +++ b/packages/Webkul/API/Http/Controllers/Shop/SessionController.php @@ -103,7 +103,7 @@ class SessionController extends Controller 'password' => 'confirmed|min:6', ]); - $data = request()->all(); + $data = request()->only('first_name','last_name','gender','date_of_birth','email','password'); if (! $data['date_of_birth']) { unset($data['date_of_birth']);