Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Add optional connection name to DatabaseUserProvider #30154

Merged
merged 1 commit into from
Oct 2, 2019
Merged

[6.x] Add optional connection name to DatabaseUserProvider #30154

merged 1 commit into from
Oct 2, 2019

Conversation

danesteve
Copy link
Contributor

@danesteve danesteve commented Oct 1, 2019

Usage:

// config/auth.php
'providers' => [
    'users' => [
        'driver' => 'database',
        'table' => 'users',
        'connection' => 'my_custom_connection',
    ],
],

There are no existing tests for this function AFAIK.

@taylorotwell taylorotwell merged commit 9c46bed into laravel:6.x Oct 2, 2019
i-bajrai pushed a commit to i-bajrai/framework that referenced this pull request Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants