Last active
July 26, 2016 19:32
-
-
Save vinothkannans/5e4b4c196d0290c396abaecd6a834382 to your computer and use it in GitHub Desktop.
Update User Provider to your `config/auth.php` file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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