mirror of
https://github.com/unraid/api.git
synced 2026-01-07 00:59:48 -06:00
refactor(web): state regTo htmlspecialchars to match original registration.page
This commit is contained in:
@@ -61,7 +61,7 @@ $serverState = [
|
||||
"protocol" => $_SERVER['REQUEST_SCHEME'],
|
||||
"regGen" => (int)$var['regGen'],
|
||||
"regGuid" => @$var['regGUID'] ?? '',
|
||||
"regTo" => @$var['regTo'] ?? '',
|
||||
"regTo" => @htmlspecialchars($var['regTo']) ?? '',
|
||||
"regTm" => $var['regTm'] ? @$var['regTm'] * 1000 : '', // JS expects milliseconds
|
||||
"regTy" => @$var['regTy'] ?? '',
|
||||
"regUpdExpAt" => $var['regUpdExpAt'] ? @$var['regUpdExpAt'] * 1000 : '', // JS expects milliseconds
|
||||
|
||||
Reference in New Issue
Block a user