1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2025-04-22 18:19:19 +02:00
RaspAP/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();
}
}