diff --git a/Controller/Admin/ConfigController.php b/Controller/Admin/ConfigController.php index 0a1eaff..1221c15 100644 --- a/Controller/Admin/ConfigController.php +++ b/Controller/Admin/ConfigController.php @@ -401,7 +401,7 @@ private function saveToC($em, $tmpDir, $csvName, $tableName = null, $allow_zero } elseif ($column == 'login_date' || $column == 'first_buy_date') { $value[$column] = (!empty($data[$column]) && $data[$column] != '0000-00-00 00:00:00') ? self::convertTz($data[$column]) : null; } elseif ($column == 'secret_key') { // 実験 - $value[$column] = mt_rand(); + $value[$column] = uniqid('secret_key_'.mt_rand().'.', true); } elseif ($column == 'point') { $value[$column] = empty($data[$column]) ? 0 : (int) $data[$column]; } elseif ($column == 'salt') {