mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
typo in output check
This commit is contained in:
parent
42d5c80ae1
commit
f60055ed41
1 changed files with 1 additions and 2 deletions
|
@ -47,8 +47,7 @@ class rcube_vesta_password
|
||||||
$result = fread($fp, 2048);
|
$result = fread($fp, 2048);
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
|
if(strpos($result, 'ok') && !strpos($result, 'error'))
|
||||||
if(strpos($result, 'ok') && !strpos($html, 'error'))
|
|
||||||
{
|
{
|
||||||
return PASSWORD_SUCCESS;
|
return PASSWORD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue