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 {