mirror of
https://github.com/redstrate/Astra.git
synced 2025-05-19 15:37:46 +00:00
If you use an auto-generated OTP, focus the login button instead
This commit is contained in:
parent
a4e9343b12
commit
9fc55adeff
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ QQC2.Control {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (LauncherCore.currentProfile.account.config.useOTP) {
|
if (LauncherCore.currentProfile.account.config.useOTP && !LauncherCore.currentProfile.account.config.rememberOTP) {
|
||||||
otpField.forceActiveFocus();
|
otpField.forceActiveFocus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue