raspap-webgui/includes/authenticate.php

11 lines
143 B
PHP
Raw Normal View History

2016-05-29 16:38:43 +01:00
<?php
if (RASPI_AUTH_ENABLED) {
$auth = new \RaspAP\Auth\HTTPAuth;
if (!$auth->isLogged()) {
$auth->authenticate();
}
2016-05-29 16:38:43 +01:00
}