Skip to content

Commit

Permalink
Comenta codigo de registro de usuario que não atualiza imagem padrao …
Browse files Browse the repository at this point in the history
…de perfil
  • Loading branch information
Piazzi authored May 5, 2022
1 parent 5750aeb commit 19b8d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Auth/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ protected function create(array $data)
]);
$user->categoria = 'modelador';

$data = User::saveImg($data, 'avatar_url', 'public/img/profile/');
$user->avatar_url = $data['avatar_url'];
//$data = User::saveImg($data, 'avatar_url', 'public/img/profile/');
//$user->avatar_url = $data['avatar_url'];

$user->save();

Expand Down

0 comments on commit 19b8d89

Please sign in to comment.