alpha
Login
or
Join now
flo-bit.dev
/
svelte-cloudflare-statusphere
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/flo-bit/svelte-cloudflare-statusphere.
statusphere.atmo.tools
atproto
cloudflare-workers
oauth
svelte
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
dont allow stale sessions
author
Florian
date
5 months ago
(Feb 13, 2026, 10:39 PM +0100)
commit
487b6132
487b6132c3d692ab59d728a5cde949e8923287b5
parent
8cd8b90e
8cd8b90e4e8ec64417d3c70a264e962741f7fb2c
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
lib
atproto
auth.svelte.ts
+1
-1
src/lib/atproto/auth.svelte.ts
View file
Reviewed
···
187
187
188
188
async function resumeSession(did: Did) {
189
189
try {
190
190
-
const session = await getSession(did, { allowStale: true });
190
190
+
const session = await getSession(did);
191
191
192
192
if (session.token.expires_at && session.token.expires_at < Date.now()) {
193
193
throw Error('session expired, signing out!');