fix
This commit is contained in:
parent
b805aeda40
commit
8a71719c9c
@ -2,8 +2,8 @@
|
||||
|
||||
require __DIR__.'/../init.php';
|
||||
|
||||
$name = $_REQUEST['name'] ?? '';
|
||||
$theme = $_REQUEST['theme'] ?? '';
|
||||
$name = $_GET['name'] ?? '';
|
||||
$theme = $_GET['theme'] ?? '';
|
||||
|
||||
if ($theme != 'light' && $theme != 'dark') {
|
||||
http_response_code(403);
|
||||
|
Loading…
x
Reference in New Issue
Block a user