mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -06:00
Merge pull request #1032 from openclassify/muammertop
fixed profile img
This commit is contained in:
commit
3eb0d3c28b
@ -19,6 +19,8 @@ class UserFormHandler
|
|||||||
|
|
||||||
$data = $builder->getPostData();
|
$data = $builder->getPostData();
|
||||||
|
|
||||||
|
$data['file_id'] = $builder->getPostValue('file');
|
||||||
|
|
||||||
$user = $userModel->find(\auth()->id());
|
$user = $userModel->find(\auth()->id());
|
||||||
if ($user->email != $data['email']) {
|
if ($user->email != $data['email']) {
|
||||||
$user->notify(new UserUpdateEmailMail());
|
$user->notify(new UserUpdateEmailMail());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user