|
@ -245,7 +245,7 @@ LONG_STRING; |
|
|
$data['op'] = "login"; |
|
|
$data['op'] = "login"; |
|
|
$this->assertMessage($exp1, $this->reqAuth($data, $httpUser)); |
|
|
$this->assertMessage($exp1, $this->reqAuth($data, $httpUser)); |
|
|
// base64 passwords are also accepted |
|
|
// base64 passwords are also accepted |
|
|
if(isset($data['password'])) { |
|
|
if (isset($data['password'])) { |
|
|
$data['password'] = base64_encode($data['password']); |
|
|
$data['password'] = base64_encode($data['password']); |
|
|
} |
|
|
} |
|
|
$this->assertMessage($exp2, $this->reqAuth($data, $httpUser)); |
|
|
$this->assertMessage($exp2, $this->reqAuth($data, $httpUser)); |
|
|