summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-11-21 17:36:54 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-11-21 17:36:54 +0000
commit9c1fb45d73b6719f7c7bc6e0423a7faef75a2796 (patch)
treebf385b721be5b1c6067040ce65f0b892bb1c9225 /classes
parent1e14fc0fd957cea2ab176d5132c3fe5329991c17 (diff)
parent64a36970d6c4a90c1ab738e0b859b4fffa18c603 (diff)
Merge branch 'feature/php-qrcode-5.0.x' into 'master'
Bump 'chillerlan/php-qrcode' to 5.0.x. See merge request tt-rss/tt-rss!77
Diffstat (limited to 'classes')
-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.");