Clicking twice on 2FA code submit button raises an error
When SSO server is a little slow, a user can click twice on the submit button.
For example, when validating TOTP code:
[Wed Jun 26 12:17:44 2024] [LLNG:11019] [notice] totp2f verification succeeded for worteks@xxx
[Wed Jun 26 12:18:30 2024] [LLNG:11155] [notice] totp2f verification succeeded for worteks@xxx
[Wed Jun 26 12:18:33 2024] [LLNG:11021] [notice] Bad (or expired) token 1719325706_36212
The second time the token is not valid and we end up with an error
We should find a way to avoid this. Maybe by disabling submit button once it is clicked.