diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php
index 70d096ccec..73070f90ef 100644
--- a/app/devices/device_edit.php
+++ b/app/devices/device_edit.php
@@ -192,12 +192,12 @@
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//validate the token
- $token = new token;
- if (!$token->validate($_SERVER['PHP_SELF'])) {
- message::add($text['message-invalid_token'],'negative');
- header('Location: devices.php');
- exit;
- }
+ //$token = new token;
+ //if (!$token->validate($_SERVER['PHP_SELF'])) {
+ // message::add($text['message-invalid_token'],'negative');
+ // header('Location: devices.php');
+ // exit;
+ //}
//check for all required data
$msg = '';
@@ -1597,7 +1597,7 @@
if ($action == "update") {
echo " \n";
}
- echo " \n";
+ //echo " \n";
echo "
";
echo " \n";
echo " \n";