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
This commit is contained in:
JunaidJaved8461 2020-10-10 00:28:08 +05:00 committed by GitHub
parent ea6d36d776
commit bc489900a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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']);