News for hackers. Stuff that matters.
Re:Show HN: I made a tool that adds two-step verification to... by dham on Thursday January 02, 2014 @09:39AM (#6999729)
Just a heads up, you're still using Webrick. Looks good though!

https://devcenter.heroku.com/articles/getting-started-with-r...

Re:Show HN: I made a tool that adds two-step verification to... by yansuck on Thursday January 02, 2014 @12:54PM (#7000930)
I am sorry I am pretty new to rails. What's bad about using Webrick? I thought it is the default.
Re:Show HN: I made a tool that adds two-step verification to... by jbrooksuk on Thursday January 02, 2014 @04:18AM (#6998833)
When you use the sign up form, why do you use a GET? This should be a POST.
Re:Show HN: I made a tool that adds two-step verification to... by yansuck on Thursday January 02, 2014 @04:21AM (#6998835)
It's POST.
Re:Show HN: I made a tool that adds two-step verification to... by jbrooksuk on Thursday January 02, 2014 @10:00AM (#6999822)
Ah yeah, you do a redirect with the ?message param.

Why not store this in a session?

Re:Show HN: I made a tool that adds two-step verification to... by yansuck on Thursday January 02, 2014 @12:54PM (#7000937)
I totally should. Didn't give it much thought when I made it.
Re:Show HN: I made a tool that adds two-step verification to... by arkokoley on Thursday January 02, 2014 @03:51AM (#6998779)
This looks good! Will be helpful! Thanks, great job!
Re:Show HN: I made a tool that adds two-step verification to... by yansuck on Thursday January 02, 2014 @04:14AM (#6998825)
Thank you :)
Re:Show HN: I made a tool that adds two-step verification to... by h-go on Thursday January 02, 2014 @07:33AM (#6999308)
Thanks! This is awesome!
Re:Show HN: I made a tool that adds two-step verification to... by yansuck on Thursday January 02, 2014 @12:55PM (#7000941)
Thanks! Did you find anything unpleasant? Anything that I could work on?
Re:Show HN: I made a tool that adds two-step verification to... by h-go on Thursday January 02, 2014 @01:37PM (#7001243)
It would be nice if the email could be modified, but that's just a small thing. Or a custom message.

What language did you use, if you don't mind my asking?

Re:Show HN: I made a tool that adds two-step verification to... by yansuck on Thursday January 02, 2014 @01:50PM (#7001335)
I am sorry but what do you mean by modified email? I used sinatra(http://www.sinatrarb.com/) to build the web service and ruby for back-end. It is hosted on heroku. :)