ollieread / multiauth

Laravel multi auth
441 stars 109 forks source link

Laravel error if 'driver' option missing #43

Closed billmn closed 10 years ago

billmn commented 10 years ago

If I remove the 'driver' option (at first level) from app/config/auth.php (like your readme) I've get this error:

Missing argument 1 for Illuminate\Auth\AuthManager::createDriver(), called in .../vendor/laravel/framework/src/Illuminate/Support/Manager.php on line 88 and defined
mikkezavala commented 10 years ago

Did you setup the Service provider in app.php ? "Ollieread\Multiauth\MultiauthServiceProvider" ? this is instead of "AuthServiceProvider" and the reminder (if you use the reminders) "Ollieread\Multiauth\Reminders\ReminderServiceProvider"

billmn commented 10 years ago

I haven't removed 'Illuminate\Auth\AuthServiceProvider' ... stupid!! Sorry for this