summaryrefslogtreecommitdiff
path: root/classes/Pref_Prefs.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-11-21 17:27:15 +0000
committerwn_ <invalid@email.com>2024-11-21 17:34:32 +0000
commit64a36970d6c4a90c1ab738e0b859b4fffa18c603 (patch)
treebf385b721be5b1c6067040ce65f0b892bb1c9225 /classes/Pref_Prefs.php
parent1e14fc0fd957cea2ab176d5132c3fe5329991c17 (diff)
Bump 'chillerlan/php-qrcode' to 5.0.x.
* Maintains PHP `7.4` compatibility and adds PHP `8.4` compatibility * The `4.4.x` branch does the same, but I didn't see any reason not to go to `5.0.x`. * https://github.com/chillerlan/php-qrcode/releases
Diffstat (limited to 'classes/Pref_Prefs.php')
-rw-r--r--classes/Pref_Prefs.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/Pref_Prefs.php b/classes/Pref_Prefs.php
index 5c4bd6872..7d1c0e9eb 100644
--- a/classes/Pref_Prefs.php
+++ b/classes/Pref_Prefs.php
@@ -1,6 +1,4 @@
<?php
-use chillerlan\QRCode;
-
class Pref_Prefs extends Handler_Protected {
/** @var array<Prefs::*, array<int, string>> */
private array $pref_help = [];
@@ -467,7 +465,7 @@ class Pref_Prefs extends Handler_Protected {
} else {
- print "<img src=".($this->_get_otp_qrcode_img()).">";
+ print "<img src='{$this->_get_otp_qrcode_img()}' style='width: 25%'>";
print_notice("You will need to generate app passwords for API clients if you enable OTP.");