Use empty function for the request username and key

This commit is contained in:
FusionPBX 2023-05-10 21:53:39 -06:00 committed by GitHub
parent ac38507462
commit 9902e823b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class plugin_database {
}
//show the authentication code view
if ($_REQUEST["username"] == '' && $_REQUEST["key"] == '') {
if (empty($_REQUEST["username"]) && empty($_REQUEST["key"])) {
//login logo source
if (isset($_SESSION['theme']['logo_login']['text']) && $_SESSION['theme']['logo_login']['text'] != '') {