mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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…
x
Reference in New Issue
Block a user