Merge pull request #1032 from openclassify/muammertop

fixed profile img
This commit is contained in:
Fatih Alp 2021-04-15 16:34:10 +03:00 committed by GitHub
commit 3eb0d3c28b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,8 @@ class UserFormHandler
$data = $builder->getPostData();
$data['file_id'] = $builder->getPostValue('file');
$user = $userModel->find(\auth()->id());
if ($user->email != $data['email']) {
$user->notify(new UserUpdateEmailMail());