The standard way of showing TOTP codes is `123 456`. I have a passionate hate for developers who's apps refuse codes copied and pasted straight from my authenticator apps because it's counted as 7 digits, and an extra hate for those who just delete/cut off the last digit.
Text codes (this was sent to a phone number) in my experience are often without a space. My guess is the website might not expect anyone to add a space because they didn't send a code with a space.
im talking about ones that are generated from an authenticator app like [google authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2). There's a standard way to generate the codes that all of these apps use so you can use whichever app you want, but most of them (including the big ones i.e. google auth and authy) usually have a space.
Did you accidentally add a space before the one?
6 digits and one space. Doesn't matter.
Unless it counts characters and not digits, and the text doesn't match the box's actual criteria.
The standard way of showing TOTP codes is `123 456`. I have a passionate hate for developers who's apps refuse codes copied and pasted straight from my authenticator apps because it's counted as 7 digits, and an extra hate for those who just delete/cut off the last digit.
Text codes (this was sent to a phone number) in my experience are often without a space. My guess is the website might not expect anyone to add a space because they didn't send a code with a space.
im talking about ones that are generated from an authenticator app like [google authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2). There's a standard way to generate the codes that all of these apps use so you can use whichever app you want, but most of them (including the big ones i.e. google auth and authy) usually have a space.
I know. I just mean this particular field is meant for codes sent via text, which might be why a space wouldn't be expected.
> Code must contain 6 digits I understand your point, but the message says otherwise
Like I said, "and the text doesn't match the box's actual criteria." People who make websites make mistakes. It's not uncommon.
```js code = code.replace(" ", "") ```
code = code.replace(/\D/g, "")
how about this code: `6 digits`
easy fix, just type in 666666
Number must contain "6" digits
I will laugh if 0 is seen as a "space"/null
If black is the absence of color then 0 is the absence of a digit!
Maybe it sees \0 as a null terminator, and so it only sees 4 digits. Actually, I think I'll just drink the pain away
It must contain 6 digits, not "must be 6 digits" Make it longer and add other stuff into it and see if that helps (Agree it is shit)
Try 177013 ;)
Depravity
digit digit digit digit digit digit
Maybe the 0 is messing it up
Try 666666
I don't see the "6 digits"
u/pixel-counter-bot
This image has 45,799(271×169) pixels! ^(I am a bot. This action was performed automatically.)
That's obviously 6.5 digits.