multiauth icon indicating copy to clipboard operation
multiauth copied to clipboard

Laravel error if 'driver' option missing

Open billmn opened this issue 12 years ago • 2 comments

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

billmn avatar Jun 18 '14 14:06 billmn

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"

mikkezavala avatar Jun 18 '14 14:06 mikkezavala

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

billmn avatar Jun 18 '14 14:06 billmn