raspap-webgui/includes/authenticate.php

11 lines
143 B
PHP
Executable File

<?php
if (RASPI_AUTH_ENABLED) {
$auth = new \RaspAP\Auth\HTTPAuth;
if (!$auth->isLogged()) {
$auth->authenticate();
}
}