mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added $user->created_at to API user create method
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
068f64a78e
commit
e894138fd4
|
@ -353,6 +353,7 @@ class UsersController extends Controller
|
|||
|
||||
$user = new User;
|
||||
$user->fill($request->all());
|
||||
$user->created_by = Auth::user()->id;
|
||||
|
||||
if ($request->has('permissions')) {
|
||||
$permissions_array = $request->input('permissions');
|
||||
|
|
Loading…
Reference in a new issue