diff --git a/auth_request.php b/auth_request.php index 22f81c71b..59f663118 100644 --- a/auth_request.php +++ b/auth_request.php @@ -37,7 +37,9 @@ $arrWhitelist = [ '/webGui/styles/font-cases.ttf', '/webGui/styles/font-cases.svg', '/webGui/images/case-model.png', - '/webGui/images/green-on.png' + '/webGui/images/green-on.png', + '/webGui/images/red-on.png', + '/webGui/images/yellow-on.png' ]; if (in_array(preg_replace(['/\?v=\d+$/','/\?\d+$/'],'',$_SERVER['REQUEST_URI']),$arrWhitelist)) { // authorized diff --git a/login.php b/login.php index 096cd25df..0c2c73c3d 100644 --- a/login.php +++ b/login.php @@ -307,7 +307,7 @@ $theme_dark = in_array($display['theme'],['black','gray']); } "> - +