Minor: define status + redirectUrl vars

This commit is contained in:
billz 2025-01-21 05:23:19 -08:00
parent 9c4f8be363
commit 2b92d028f6

2
includes/login.php Normal file → Executable file
View File

@ -10,6 +10,8 @@ function DisplayLogin()
{ {
// initialize auth object // initialize auth object
$auth = new \RaspAP\Auth\HTTPAuth; $auth = new \RaspAP\Auth\HTTPAuth;
$status = null;
$redirectUrl = null;
// handle page action // handle page action
if (RASPI_AUTH_ENABLED) { if (RASPI_AUTH_ENABLED) {