Skip to content

Instantly share code, notes, and snippets.

@vinothkannans
Last active July 26, 2016 19:32
Show Gist options
  • Save vinothkannans/5e4b4c196d0290c396abaecd6a834382 to your computer and use it in GitHub Desktop.
Save vinothkannans/5e4b4c196d0290c396abaecd6a834382 to your computer and use it in GitHub Desktop.
Update User Provider to your `config/auth.php` file
<?php
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'firebase_users', /**** Change 'users' to 'firebase_users' ****/
],
'api' => [
'driver' => 'token',
'provider' => 'firebase_users', /**** Change 'users' to 'firebase_users' ****/
],
],
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
],
/**** Add this firebase users provider ****/
'firebase_users' => [
'driver' => 'eloquent',
'model' => Vinkas\Firebase\Auth\User::class,
],
/**** ****/
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment