summaryrefslogtreecommitdiff
path: root/rh-bin/authtoken.json
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-03-23 19:38:14 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-03-23 19:38:14 (GMT)
commit6d97994a199e2cf180321c5bc7c3e1282ef477cc (patch)
treeb33f27b660f6f4c6827ecc1c8ea7e4df56cd455c /rh-bin/authtoken.json
parent1b1e7df2067769dfcd7c2e01dd35e3d68b7a0bf1 (diff)
fixed utf8 output for authtoken
Diffstat (limited to 'rh-bin/authtoken.json')
-rwxr-xr-xrh-bin/authtoken.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/rh-bin/authtoken.json b/rh-bin/authtoken.json
index 7b2fdba..9e4c332 100755
--- a/rh-bin/authtoken.json
+++ b/rh-bin/authtoken.json
@@ -59,4 +59,4 @@ $answer{'token'} = $token;
print "Content-type: application/json; charset=UTF-8\n";
print "Status: $responsecode\n\n";
-print encode_json \%answer;
+print JSON->new->encode(\%answer);