Commit b1b524d7 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #3718 from JosephSilber/default-auth-driver

Set the default driver from the Authenticate middleware
parents 4f4d378d f7d05cbb
......@@ -42,6 +42,8 @@ class Authenticate
foreach ($guards as $guard) {
if (Auth::guard($guard)->check()) {
Auth::shouldUse($guard);
return true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment