ADI-Labs / density

wireless density API
13 stars 26 forks source link

Better API key generation #213

Closed alexander-yu closed 7 years ago

alexander-yu commented 7 years ago

Improved the method for generating API keys (instead of just using os.random and turning it into a string). Additionally, corresponding UNIQUE index + constraint for the code column (i.e. API key) the oauth_data table was added to reinforce the fact that API keys need to be unique.

Also updated build status badge in the README.

alanhdu commented 7 years ago

Do you mind squashing some commits? (For example, the two index commits should be combined, and the test fix should probably be squashed too).

Otherwise, LGTM

alexander-yu commented 7 years ago

No problem; commits squashed.