Page MenuHomePhabricator

Give sessions real PHIDs and slightly modernize session queries
ClosedPublic

Authored by epriestley on Dec 13 2018, 6:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 8:40 PM
Unknown Object (File)
Fri, Nov 15, 12:05 AM
Unknown Object (File)
Sat, Nov 9, 10:34 PM
Unknown Object (File)
Wed, Nov 6, 8:08 AM
Unknown Object (File)
Thu, Oct 31, 6:22 PM
Unknown Object (File)
Thu, Oct 31, 2:19 PM
Unknown Object (File)
Oct 18 2024, 4:33 PM
Unknown Object (File)
Oct 9 2024, 10:53 AM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13222. See PHI873. I'm preparing to introduce a new MFA "Challenge" table which stores state about challenges we've issued (to bind challenges to sessions and prevent most challenge reuse).

This table will reference sessions (since each challenge will be bound to a particular session) but sessions currently don't have PHIDs. Give them PHIDs and slightly modernize some related code.

Test Plan
  • Ran migrations.
  • Verified table got PHIDs.
  • Used var_dump() to dump an organic user session.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Dec 13 2018, 6:34 PM
This revision is now accepted and ready to land.Dec 13 2018, 7:48 PM
This revision was automatically updated to reflect the committed changes.