Skip to content

Commit

Permalink
Temporarily remove expires check for unclaimed_records. [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cslzchen committed Jul 15, 2016
1 parent 7ecf373 commit b1a6581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/auth/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,8 @@ def verify_claim_token(self, token, project_id):
record = self.get_unclaimed_record(project_id)
except ValueError: # No unclaimed record for given pid
return False
return record['token'] == token and record['expires'] > dt.datetime.utcnow()
# TODO: add `expires` check after fix contributo logic
return record['token'] == token # and record['expires'] > dt.datetime.utcnow()

def get_claim_url(self, project_id, external=False):
"""
Expand Down

0 comments on commit b1a6581

Please sign in to comment.