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

use configured model first for userModel #14

Merged
merged 1 commit into from Jan 9, 2020

Conversation

@faustbrian
Copy link
Contributor

faustbrian commented Jan 9, 2020

Without this change I always need to manually set the model that should be used with Airlock::useUserModel(...) instead of Airlock using the model that I have configured in the config/auth.php file.

After this change the userModel will either return the model from the configuration or the default that is defined on the class.

@taylorotwell taylorotwell merged commit 38201ef into laravel:master Jan 9, 2020
@faustbrian faustbrian deleted the faustbrian:patch-1 branch Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.