Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit b98b9ff

Browse files
committed
FIxed setFallback.
1 parent 6bb06cd commit b98b9ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Auth/DatabaseUserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function validateCredentials(Authenticatable $model, array $credentials)
168168
*/
169169
public function setFallback(UserProvider $provider)
170170
{
171-
$this->setFallback($provider);
171+
$this->fallback = $provider;
172172
}
173173

174174
/**

tests/WindowsAuthenticateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ public function test_handle()
4040
$this->assertEquals('John Doe', $authenticated->name);
4141
$this->assertEquals('jdoe@email.com', $authenticated->email);
4242
}
43-
}
43+
}

0 commit comments

Comments
 (0)