app/maguttiCms/Website/Controllers/Auth/RegisterController.php
/**
     * Create a new user instance after a valid registration.
     *
     * @param  array  $data
     * @return User
     */
Create a new user instance after a valid registration.
@param  array  $data
@return User
Create a new user instance after a valid registration . @param array $data @return User
protected function create(array $data)
    {
        return User::create([
            'firstname' => $data['firstname'],
            'lastname' => $data['lastname'],
            'is_active' => 1,
            'email' => $data['email'],
            'password' => $data['password'],
        ]);
    }
protected function create ( array $ data ) { return User :: create ( [ 'firstname' => $ data [ 'firstname' ] , 'lastname' => $ data [ 'lastname' ] , 'is_active' => 1 , 'email' => $ data [ 'email' ] , 'password' => $ data [ 'password' ] , ] ) ; }
Create a new user instance after a valid registration.
Create a new user instance after a valid registration .