From 64ce1854f51a74549d19eca17ae04297823d4682 Mon Sep 17 00:00:00 2001 From: CiiLu <109708109+CiiLu@users.noreply.github.com> Date: Sat, 14 Feb 2026 22:03:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BE=AE=E8=BD=AF=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E7=94=9F=E6=88=90=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=20otc=20=E5=8F=82=E6=95=B0=20(#5538)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jackhuang/hmcl/ui/account/MicrosoftAccountLoginPane.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/MicrosoftAccountLoginPane.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/MicrosoftAccountLoginPane.java index 7cd2b7c8b..4d302bb2d 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/MicrosoftAccountLoginPane.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/account/MicrosoftAccountLoginPane.java @@ -184,7 +184,7 @@ public class MicrosoftAccountLoginPane extends JFXDialogLayout implements Dialog var qrCode = new SVGPath(); qrCode.fillProperty().bind(Themes.colorSchemeProperty().getPrimary()); - qrCode.setContent(QrCodeUtils.toSVGPath(QrCode.encodeText(wait.verificationUri(), QrCode.Ecc.MEDIUM))); + qrCode.setContent(QrCodeUtils.toSVGPath(QrCode.encodeText(wait.verificationUri() + "?otc=" + wait.userCode(), QrCode.Ecc.MEDIUM))); qrCode.setScaleX(3); qrCode.setScaleY(3);