check now please

This commit is contained in:
JunaidJaved8461 2020-10-12 12:04:47 +05:00 committed by GitHub
parent 87ba9e970a
commit 80d5c4c5a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,6 @@ class SessionController extends Controller
$this->_config = request('_config');
$this->customerRepository = $customerRepository;
}
/**
@ -106,7 +105,7 @@ class SessionController extends Controller
$data = request()->only('first_name', 'last_name', 'gender', 'date_of_birth', 'email', 'password');
if (!isset($data['password']) || ! $data['password']) {
if (! isset($data['password']) || ! $data['password']) {
unset($data['password']);
} else {
$data['password'] = bcrypt($data['password']);