NodeBB / nodebb-plugin-2factor

Two-Factor Authentication for NodeBB
MIT License
12 stars 15 forks source link

Disregard spaces in TOTP input field #98

Open julianlam opened 6 months ago

julianlam commented 6 months ago

via @NavyStack:

Some applications use a space character when presenting a 6-digit number. For instance, 123456 may appear as 123 456 when copied to the clipboard. Given the increasing prevalence of users utilizing this feature via a browser extension plugin, I believe enhancing the user experience by disregarding space characters and accepting numbers solely would be beneficial.