Files
wownerogue/html
jwinterm 8fb284f8ed fix(smirk): re-check link status after token rotation (fixes one-click after reload)
Even with the anon_token status query, Smirk one-click stayed disabled after a reload: the server
ROTATES the session token on every resume (sessionManager), so the initial SmirkAuth.checkStatus()
raced the rotation and 403d with the now-stale token, leaving _isLinked=false. Re-run checkStatus
right after the fresh token is persisted (session_token / session_resumed) via _refreshSmirkLinked,
so _isLinked reflects the current token before the user buys — restoring the Smirk payment popup.
2026-07-18 04:37:53 -04:00
..
2025-09-27 08:45:22 -04:00