stacker.news/pages
ekzyis 6bae1f1a89
Fix account switching anon login (#1618)
* Always switch to user we just logged in as

If we're logged in and switch to anon and then use login to get into our previous account instead of using 'switch accounts', we only updated the JWT but we didn't switch to the user.

* Fix getToken unaware of multi-auth middleware

If we use login with new credentials while switched to anon (multi_auth.user-id === 'anonymous'), we updated the pubkey because getToken wasn't aware of the switch and thus believed we're logged in as a user.

This is fixed by applying the middleware before calling getToken.
2024-11-20 07:05:42 -06:00
..
[name] make bio work as paid action 2024-10-02 18:39:56 -05:00
api Fix account switching anon login (#1618) 2024-11-20 07:05:42 -06:00
auth Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
invites Fix missing fragmentName 2024-10-25 14:10:41 +02:00
invoices Wallet definitions with uniform interface (#1243) 2024-07-20 17:51:46 -05:00
items/[id] rethinking boost (#1408) 2024-09-19 13:13:14 -05:00
referrals Account Switching (#644) 2024-09-12 13:05:11 -05:00
rewards wallet streaks (#1468) 2024-10-11 19:14:18 -05:00
satistics Random CSS fixes (#1370) 2024-09-07 10:01:00 -05:00
settings dark/light mode images on wallet pages 2024-11-19 15:46:11 -06:00
stackers chart skeletons 2024-03-25 15:35:32 -04:00
wallet upgrade qr code scanner and fix #1476 2024-10-12 18:06:07 -05:00
withdrawals Implement deposit as receive paidAction (#1570) 2024-11-15 18:38:14 -06:00
~ Add Random link and basic query (#1306) 2024-08-20 16:50:55 -05:00
404.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
500.js upgrade to next-auth 4 (bonus: improve error pages) 2023-07-29 14:38:20 -05:00
_app.js pages load *kazoo* 2024-10-30 13:45:05 -05:00
_document.js fix apple-mobile-web-app-capable deprecation 2024-10-07 10:52:29 -05:00
_error.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
email.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
live.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
login.js Account Switching (#644) 2024-09-12 13:05:11 -05:00
notifications.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
offline.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00
search.js search all territories by default + more intuitive search filters 2024-03-26 18:37:40 -05:00
share.js Service worker rework, Web Target Share API & Web Push API (#324) 2023-07-04 14:36:07 -05:00
signup.js enhance navigation 2024-03-26 18:36:31 -05:00
territory.js Use module path aliases (#938) 2024-03-19 19:37:31 -05:00