ekzyis
25d5bb53bb
Refetch active queries on account switch
2024-01-06 22:08:57 +01:00
ekzyis
09b468660b
Fix missing multi_auth cookie in existing sessions
...
This makes this feature backwards compatible. Existing sessions were missing the multi_auth cookie since they didn't go through the new login flow were the cookie gets set.
2024-01-06 22:08:57 +01:00
ekzyis
703d7e3cb5
Remove empty line
2024-01-06 22:08:57 +01:00
ekzyis
175124bcc5
Add comment
...
and remove accidental comment
2024-01-06 22:08:57 +01:00
ekzyis
9aeeae99d1
Fix comment placement
2024-01-06 22:08:57 +01:00
ekzyis
c1e7b93688
Use click on nym to switch
2024-01-06 22:08:57 +01:00
ekzyis
47dc05d285
Use list view to render accounts
2024-01-06 22:08:57 +01:00
ekzyis
0e04daebfb
Return full context in useMe
...
Ran search and replace:
s/const me = useMe()/const { me } = useMe()/
s/const refreshMe = useMeRefresh()/const { refreshMe } = useMe()/
+ removed import of `useMeRefresh` manually
2024-01-06 22:08:57 +01:00
ekzyis
31dec0eee6
Remove unnecessary header
2024-01-06 22:05:20 +01:00
ekzyis
31cfd22480
Remove console.log
2024-01-06 22:05:20 +01:00
ekzyis
7f1275a2e6
Download image
...
Source: https://imgs.search.brave.com/t8qv-83e1m_kaajLJoJ0GNID5ch0WvBGmy7Pkyr4kQY/rs:fit:860:0:0/g:ce/aHR0cHM6Ly91cGxv/YWQud2lraW1lZGlh/Lm9yZy93aWtpcGVk/aWEvY29tbW9ucy84/Lzg5L1BvcnRyYWl0/X1BsYWNlaG9sZGVy/LnBuZw
2024-01-06 22:05:20 +01:00
ekzyis
c235ca3fe7
Select next available account on signOut
2024-01-06 22:05:20 +01:00
ekzyis
3bb24652b3
Add Path=/ to pointer cookie
2024-01-06 22:05:20 +01:00
ekzyis
260c97624b
Reset cookie pointer on signout
2024-01-06 22:05:20 +01:00
ekzyis
111d5ea610
Fix false returned in useEffect
2024-01-06 22:05:20 +01:00
ekzyis
0caa517cd5
Use secure cookie
2024-01-06 22:05:20 +01:00
ekzyis
369328da15
Fetch nym and photoId
2024-01-06 22:05:20 +01:00
ekzyis
c610f20773
Fix stale me used on switch to anon
2024-01-06 22:05:20 +01:00
ekzyis
d0a47fd304
Formatting
2024-01-06 22:05:20 +01:00
ekzyis
01fe205350
Use function to set multi auth cookies
...
* set multi auth cookie in jwt callback
* don't overwrite existing multi auth cookies
2024-01-06 22:05:20 +01:00
ekzyis
78e50be2f7
Fix document not defined
2024-01-06 22:05:20 +01:00
ekzyis
b8243f8a87
Update lurker corner to switch back to session
2024-01-06 22:05:20 +01:00
ekzyis
24168f556e
Use base64 encoding for multi_auth cookie
2024-01-06 22:05:20 +01:00
ekzyis
470e0dfc7a
Account switching
2024-01-06 22:05:19 +01:00