1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-19 07:37:44 +00:00

If you use an auto-generated OTP, focus the login button instead

This commit is contained in:
Joshua Goins 2025-05-18 11:44:44 -04:00
parent a4e9343b12
commit 9fc55adeff

View file

@ -83,7 +83,7 @@ QQC2.Control {
return;
}
if (LauncherCore.currentProfile.account.config.useOTP) {
if (LauncherCore.currentProfile.account.config.useOTP && !LauncherCore.currentProfile.account.config.rememberOTP) {
otpField.forceActiveFocus();
return;
}