acoustep/entrust-gui

5.2 has improper config('auth.model') accessor

Closed this issue · 1 comments

I will be creating a pull request for this soon I just wanted to make a note this issue in the UsersController.

public function create()
{
    $user_class = $this->config->get('auth.providers.users.model);
    $user = new $user_class;
    $roles = $this->role->lists('name', 'id');

    return view(
        'entrust-gui::users.create',
        compact(
            'user',
            'roles'
        )
    );
}

Thanks for noticing this. I've merged the PR :).