Update user_id session var auth context

This commit is contained in:
billz
2024-02-24 10:23:58 +01:00
parent 2e4d76a419
commit ae44f5476d
2 changed files with 1 additions and 1 deletions

View File

@@ -96,7 +96,6 @@ class HTTPAuth
if ($auth_details = fopen(RASPI_CONFIG . '/raspap.auth', 'r')) {
$config['admin_user'] = trim(fgets($auth_details));
$config['admin_pass'] = trim(fgets($auth_details));
$_SESSION['user_id'] = $config['admin_user'];
fclose($auth_details);
}
}