adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

Hotfix/issue#81/bootstrap optimise #82

Closed jonnybazookatone closed 8 years ago

jonnybazookatone commented 8 years ago

This addresses and should close issue #81.

Bootstrap code now correctly comparsed int against int inside if statement.

Tests added for this.

Bootstrap doesn't access database unless the session actually has an Oauth token.

Tests for this added.

Logout user is overriden to ensure that content no longer needed is cleaned, such as oauth_client.

Flask-Login fixed until Flask-Security is modified to work with the latest release.