forked from eatvio/eatvio-infra
static analizys update
This commit is contained in:
@@ -23,9 +23,9 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation
|
||||
'photo' => ['nullable', 'mimes:jpg,jpeg,png', 'max:1024'],
|
||||
])->validateWithBag('updateProfileInformation');
|
||||
|
||||
if (isset($input['photo'])) {
|
||||
/*if (isset($input['photo'])) {
|
||||
$user->updateProfilePhoto($input['photo']);
|
||||
}
|
||||
}*/
|
||||
|
||||
if ($input['email'] !== $user->email &&
|
||||
$user instanceof MustVerifyEmail) {
|
||||
|
||||
Reference in New Issue
Block a user