ollieread / multiauth

Laravel multi auth
441 stars 109 forks source link

Injecting MultiAuth into a service returns errors #70

Closed ktalebian closed 9 years ago

ktalebian commented 9 years ago

When you try to inject the Auth into a service using new SomeService(App::make('auth')) it returns the following error:

`"Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Ollieread\\Multiauth\\MultiManager"`

$app has been defined as $app['auth.loaded'] = true; inside the service provider.

ollieread commented 9 years ago

This is fixed in the most recent version.