Commit f7d05cbb authored by Joseph Silber's avatar Joseph Silber

Set the default driver from the Authenticate middleware

parent 4f4d378d
......@@ -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