Merge branch 'master' of ssh://172.20.0.1/var/git/espo/backend
This commit is contained in:
@@ -127,11 +127,7 @@ class Tester
|
||||
|
||||
if (isset($this->userName)) {
|
||||
$this->password = isset($this->password) ? $this->password : $this->defaultUserPassword;
|
||||
|
||||
$isAuthenticated = $auth->login($this->userName, $this->password);
|
||||
if (!$isAuthenticated) {
|
||||
$auth->useNoAuth();
|
||||
}
|
||||
$auth->login($this->userName, $this->password);
|
||||
} else {
|
||||
$auth->useNoAuth();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user