Hide secret, router forgot ;

This commit is contained in:
Ibnu Maksum 2021-08-19 13:03:55 +07:00
parent b40ffeabbb
commit 4d124bf257
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 65 additions and 67 deletions

View File

@ -280,7 +280,7 @@ class Client
$request->setArgument('password', $password); $request->setArgument('password', $password);
$request->send($com); $request->send($com);
$response = new Response($com, false, $timeout); $response = new Response($com, false, $timeout);
return $response->getType() === Response::TYPE_FINAL return $response->getType() === Response::TYPE_FINAL;
null === $response->getProperty('ret'); null === $response->getProperty('ret');
} }

View File

@ -31,7 +31,6 @@
<th>{$_L['Router_Name']}</th> <th>{$_L['Router_Name']}</th>
<th>{$_L['IP_Address']}</th> <th>{$_L['IP_Address']}</th>
<th>{$_L['Username']}</th> <th>{$_L['Username']}</th>
<th>{$_L['Router_Secret']}</th>
<th>{$_L['Description']}</th> <th>{$_L['Description']}</th>
<th>{$_L['Manage']}</th> <th>{$_L['Manage']}</th>
</tr> </tr>
@ -42,7 +41,6 @@
<td>{$ds['name']}</td> <td>{$ds['name']}</td>
<td>{$ds['ip_address']}</td> <td>{$ds['ip_address']}</td>
<td>{$ds['username']}</td> <td>{$ds['username']}</td>
<td>{$ds['password']}</td>
<td>{$ds['description']}</td> <td>{$ds['description']}</td>
<td> <td>
<a href="{$_url}routers/edit/{$ds['id']}" class="btn btn-warning btn-sm">{$_L['Edit']}</a> <a href="{$_url}routers/edit/{$ds['id']}" class="btn btn-warning btn-sm">{$_L['Edit']}</a>