Page MenuHomePhabricator

Allow null for token expiration date
ClosedPublic

Authored by avivey on Oct 31 2013, 12:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 4:52 PM
Unknown Object (File)
Fri, Dec 13, 7:38 AM
Unknown Object (File)
Fri, Dec 6, 9:35 PM
Unknown Object (File)
Fri, Dec 6, 1:24 AM
Unknown Object (File)
Fri, Nov 29, 3:44 PM
Unknown Object (File)
Thu, Nov 28, 4:25 AM
Unknown Object (File)
Fri, Nov 22, 1:12 AM
Unknown Object (File)
Oct 25 2024, 9:17 AM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP2250ee6aa6b8: Allow null for token expiration date
Summary

At least under GitHub, the token value is stored as "null", and not missing. And null > anything is false, so Phabricator thinks the token is expired or not there.

Test Plan

http://ph.vm/settings/panel/external/ before shows "No OAuth Access Token," and after it says "Active OAuth Token".

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley closed this revision.

Closed by commit rP2250ee6aa6b8 (authored by Aviv Eyal <aeyal@groupon.com>, committed by @epriestley).