usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.55k stars 602 forks source link

[Feature Request] 2FA Prompt Focus & Enter Key to POST #1319

Open packetdog opened 1 month ago

packetdog commented 1 month ago

Good day,

I'd like to request a quality of life improvement to the login page for Cyberpanel. We have 2FA enabled, and when we click the login button for our stored password, the 2FA box appears, but the box is not 'in focus'. This requires us to click into the box, and then to enter the code. It would be nice for this box to auto focus so while holding our phone, we can look at the code, and type with the other hand immediately, without having to click into the box.

After we enter the code, we then can't just press \<enter> on the keyboard, we have to grab the mouse again and click Login. If you could make enter in the 2FA box submit the form on this page as well, it would greatly improve the login process.

Obviously this is a quality request, not a bug, but I appreciate your attention to it.

SaJeTek-Developer commented 1 month ago

This has been an annoyance to me as well and I'm in full support of this.