From 45fbdae34b827c8c054862322bf35cfd39b5138f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Str=C3=B6ger?= Date: Thu, 26 Apr 2018 20:04:54 +0200 Subject: [PATCH] Add API Token in Text --- scripts/pi-hole/php/api_token.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/pi-hole/php/api_token.php b/scripts/pi-hole/php/api_token.php index be83895f..a5d8ea64 100644 --- a/scripts/pi-hole/php/api_token.php +++ b/scripts/pi-hole/php/api_token.php @@ -11,6 +11,8 @@ if($auth) require_once("../../vendor/qrcode.php"); $qr = QRCode::getMinimumQRCode($pwhash, QR_ERROR_CORRECT_LEVEL_Q); $qr->printHTML("10px"); + print($pwhash); + } else {