PDA

View Full Version : [Beta] Updated TwoStepLogin example



tcarr
04-25-2012, 01:55 PM
I've updated the TwoStepLogin code example to take advantage of userDidLogin. This makes the example more secure and also increases performance on busy servers.

Download the zip (http://www.electrotank.com/docs/es5/zips/TwoStepLoginBeta.zip)

As always, you are encouraged to report bugs. This example was tested against the development version of the ES5 server (post 5.3.2), but the only changes were in code that isn't used with this example. Translation: if you are using an earlier version of ES5, you should be able to recompile using the correct version of the server and client apis and it should work as long as it's at *least* 5.2.3 (so that userDidLogin is available).