mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
d0ac97f335
commit
51d9f8eaa7
@ -49,7 +49,11 @@ class BackendMock implements UserBackend
|
|||||||
"user@test.local"
|
"user@test.local"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getUserCount() {
|
||||||
|
return count($this->allowedCredentials);
|
||||||
|
}
|
||||||
|
|
||||||
public function authenticate(Credentials $credentials)
|
public function authenticate(Credentials $credentials)
|
||||||
{
|
{
|
||||||
if (!in_array($credentials, $this->allowedCredentials)) {
|
if (!in_array($credentials, $this->allowedCredentials)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user