Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or even just input validation on the form itself before passing on to the API, which is more of what I was getting at. I don't know about the details of Authy's setup, but I know that AJAX (for example) supports enforcement of specific value types in text fields.

Basically, the form itself could have (and maybe even should have) required numeric-only values, seeing as Authy's codes are either 6 or 7 digits long and contain no alphabetical or special characters.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: