shotvibe / shotvibe-web

ShotVibe REST API webservice
1 stars 0 forks source link

Generate random SMS confirmation code #43

Closed prudnikov closed 10 years ago

prudnikov commented 11 years ago

PhoneNumberManager.authorize_phone_number uses random code '6666' (Benny guarantee he picked it randomly :D), but it needs to be generated by random.

benny-shotvibe commented 11 years ago

This should be a very easy fix, right?

Let's leave this till a bit later, since right now we rely heavily on the '6666' code for testing

prudnikov commented 11 years ago

Yeah, just replace 6666 with random.randint(1000,9999) :) Ok, I created this issue to not forget.

benny-shotvibe commented 10 years ago

Implemented in 631c353756e46cb1317a53aa12c1e5fdd00cd848