parent
d0ac97f335
commit
51d9f8eaa7
|
@ -50,6 +50,10 @@ class BackendMock implements UserBackend
|
|||
);
|
||||
}
|
||||
|
||||
public function getUserCount() {
|
||||
return count($this->allowedCredentials);
|
||||
}
|
||||
|
||||
public function authenticate(Credentials $credentials)
|
||||
{
|
||||
if (!in_array($credentials, $this->allowedCredentials)) {
|
||||
|
|
Loading…
Reference in New Issue