BookStack\Http\Controllers\UserController::create PHP Method

create() public method

Show the form for creating a new user.
public create ( ) : Illuminate\Http\Response
return Illuminate\Http\Response
    public function create()
    {
        $this->checkPermission('users-manage');
        $authMethod = config('auth.method');
        $roles = $this->userRepo->getAllRoles();
        return view('users/create', ['authMethod' => $authMethod, 'roles' => $roles]);
    }