Commit 080f4670 authored by Yadd's avatar Yadd
Browse files

Return 200 for Ajax queries if error is PE_PASSWORD_OK (#1258)

parent 306af4fa
......@@ -187,7 +187,7 @@ sub do {
[qq'{"result":0,"error":$err}']
];
}
elsif ( $err > 0 ) {
elsif ( $err > 0 and $err != PE_PASSWORD_OK ) {
return $self->sendJSONresponse(
$req,
{ result => 0, error => $err },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment