Navigation Menu

Skip to content

Commit

Permalink
Update modemsms.class.php
Browse files Browse the repository at this point in the history
bug fix with huawei authorization
  • Loading branch information
london89 committed Jan 28, 2021
1 parent 2cd383a commit c13dba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/modemsms/modemsms.class.php
Expand Up @@ -492,7 +492,7 @@ function checkModem($full=0) {
$router->setAddress($modem['IP']);
if ($rec['AUTH']) {
$router->setNeedsAuth(true);
$router->login($rec['LOGIN'],$rec['PASSWORD']);
$router->login($modem['LOGIN'],$modem['PASSWORD']);
}
try{
$status = $router->getStatus();
Expand Down

0 comments on commit c13dba6

Please sign in to comment.