In REST, PE_LOGOUT_OK must return 200
This commit is contained in:
parent
442a26a537
commit
9df3d57bc9
|
@ -232,7 +232,7 @@ sub do {
|
|||
[qq'{"result":0,"error":$err}']
|
||||
];
|
||||
}
|
||||
elsif ( $err > 0 and $err != PE_PASSWORD_OK ) {
|
||||
elsif ( $err > 0 and $err != PE_PASSWORD_OK and $err != PE_LOGOUT_OK ) {
|
||||
return $self->sendJSONresponse(
|
||||
$req,
|
||||
{ result => 0, error => $err },
|
||||
|
|
Loading…
Reference in New Issue
Block a user