Skip to content

Scope secondary authentication to login sessions - #39

Open
rizen wants to merge 1 commit into
masterfrom
codex/issue-1271-authentication-enforcement
Open

Scope secondary authentication to login sessions#39
rizen wants to merge 1 commit into
masterfrom
codex/issue-1271-authentication-enforcement

Conversation

@rizen

@rizen rizen commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

  • bind pending and completed secondary authentication to the current Wing session
  • prevent impersonation or an earlier login from authorizing a later session for the same user
  • return an actionable error if verification is requested without a live session

TDD evidence

  • Red: author.t/secondary_auth_session.t failed because verification for session-1 was accepted by session-2
  • Green: prove -lv author.t/secondary_auth_session.t author.t/session_absolute_expiry.t passes 16 assertions

Fixes plainblack/TGC#1271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant