google-authenticator
google-authenticator copied to clipboard
remove space in 2FA code field
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.