google-authenticator icon indicating copy to clipboard operation
google-authenticator copied to clipboard

remove space in 2FA code field

Open andsat opened this issue 4 years ago • 0 comments

the field where you insert the 2FA code allows spaces. to my knowledge, no valid code would have a space in it. however, many apps insert a space to separate the codes into chunks, making them easier to remember. this results in a space being copied if you copy+paste the code. for example, "012345" becomes "012 345" and will be read as invalid.

stripping out non-alphanumerics on submit solves this problem. very minor annoyance but an easy fix.

andsat avatar Jan 22 '21 22:01 andsat