Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Strip whitespaces from tokens (#558)

authored by

Ollie H and committed by
GitHub
74fbb479 83959c59

+5 -2
+2 -1
src/view/com/auth/login/Login.tsx
··· 704 704 705 705 try { 706 706 const agent = new BskyAgent({service: serviceUrl}) 707 + const token = resetCode.replace(/\s/g, '') 707 708 await agent.com.atproto.server.resetPassword({ 708 - token: resetCode, 709 + token, 709 710 password, 710 711 }) 711 712 onPasswordSet()
+3 -1
src/view/com/modals/DeleteAccount.tsx
··· 42 42 const onPressConfirmDelete = async () => { 43 43 setError('') 44 44 setIsProcessing(true) 45 + const token = confirmCode.replace(/\s/g, '') 46 + 45 47 try { 46 48 await store.agent.com.atproto.server.deleteAccount({ 47 49 did: store.me.did, 48 50 password, 49 - token: confirmCode, 51 + token, 50 52 }) 51 53 Toast.show('Your account has been deleted') 52 54 resetToTab('HomeTab')