mirror of
https://github.com/unraid/webgui.git
synced 2026-01-17 23:20:02 -06:00
Correct validation error in UpdateDNS
This commit is contained in:
@@ -36,6 +36,7 @@ if (!preg_match('/.*\.unraid\.net$/', $hostname)) {
|
||||
}
|
||||
|
||||
// keyfile
|
||||
$var = parse_ini_file("/var/local/emhttp/var.ini");
|
||||
$keyfile = @file_get_contents($var['regFILE']);
|
||||
if ($keyfile === false) {
|
||||
response_complete(406, '{"error":"Registration key required"}');
|
||||
|
||||
Reference in New Issue
Block a user