wstrange / GoogleAuth

Google Authenticator Server side code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OTP starting with 0 is not working

Ankitj13 opened this issue · comments

Hi Team,
We are using your library and we got like once the OTP starts with "0" will not be authorized as it is neglecting 0, not taking within the OTP.
Have you guys faced this issue with anyone else. please confirm.
Regards
Ankit

No problem here, 000001 equals 1,
1 In the case where the Code must be 6 digits, there is only the unique value 000001