Skip to content

Commit

Permalink
Merge 345938a into ae8370a
Browse files Browse the repository at this point in the history
  • Loading branch information
issh1989 committed Sep 8, 2020
2 parents ae8370a + 345938a commit 637d313
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Requests/Users/UpdateRequest.php
Expand Up @@ -68,6 +68,8 @@ public function validated()

if ($formData['password']) {
$formData['password'] = bcrypt($formData['password']);
} else {
unset($formData['password']);
}

return $formData;
Expand Down

0 comments on commit 637d313

Please sign in to comment.