1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

removed useless line of code

This commit is contained in:
glaszig 2019-07-30 17:36:34 +02:00
parent 0967a53152
commit d53517a34a

View File

@ -50,7 +50,6 @@ if (empty($_SESSION['csrf_token'])) {
$_SESSION['csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32)); $_SESSION['csrf_token'] = bin2hex(openssl_random_pseudo_bytes(32));
} }
} }
$csrf_token = $_SESSION['csrf_token'];
if (!isset($_COOKIE['theme'])) { if (!isset($_COOKIE['theme'])) {
$theme = "custom.css"; $theme = "custom.css";