mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Just use model validation for new user
This commit is contained in:
parent
cffa76e627
commit
04610e7864
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Http\Requests\SetupUserRequest;
|
||||
use App\Http\Requests\AssetFileRequest;
|
||||
use App\Helpers\Helper;
|
||||
use App\Models\Accessory;
|
||||
|
@ -96,7 +95,7 @@ class UsersController extends Controller
|
|||
* @since [v1.0]
|
||||
* @return Redirect
|
||||
*/
|
||||
public function postCreate(SetupUserRequest $request)
|
||||
public function postCreate()
|
||||
{
|
||||
|
||||
$user = new User;
|
||||
|
|
Loading…
Reference in a new issue