summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/session/www/rpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/session/www/rpc.php b/plugins/session/www/rpc.php
index 9e27bc3..5efdf82 100644
--- a/plugins/session/www/rpc.php
+++ b/plugins/session/www/rpc.php
@@ -7,7 +7,7 @@ require_once SESS_ROOT . 'main.php';
if (!empty($_POST['salt']) && strlen($_POST['salt']) >= 16) {
$entry = create_key($_POST['salt']);
if ($entry) {
- header('Content-type: text/plain; charset=UTF-8');
+ header('Content-type: application/json');
print json_encode($entry);
}
else {