Skip to content

Commit

Permalink
Removed return statement as it precluded checking token expiry.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdutton committed Nov 4, 2013
1 parent 58b8405 commit c4596bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oauth2app/authenticate.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def _validate(self):
self.attempted_validation = True
self._validate_bearer(self.bearer_token)
self.valid = True
return
else:
raise InvalidRequest("Request authentication failed, no "
"authentication credentials provided.")
Expand Down

0 comments on commit c4596bf

Please sign in to comment.