Skip to content

Commit

Permalink
Return 204
Browse files Browse the repository at this point in the history
  • Loading branch information
cretueusebiu committed Jan 12, 2021
1 parent 2c2707b commit 3f38a93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Controllers/Settings/PasswordController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ public function update(Request $request)
$request->user()->update([
'password' => bcrypt($request->password),
]);

return response()->json(null, 204);
}
}

0 comments on commit 3f38a93

Please sign in to comment.