Merge branch 'verify-clear-after' into 'main'
Clear meta.pubkey after verify_credentials See merge request soapbox-pub/soapbox!3180
This commit is contained in:
commit
242a6ace1a
|
@ -27,10 +27,10 @@ function logInNostr(pubkey: string) {
|
||||||
secret,
|
secret,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
dispatch(setNostrPubkey(undefined));
|
|
||||||
|
|
||||||
const { access_token } = dispatch(authLoggedIn(token));
|
const { access_token } = dispatch(authLoggedIn(token));
|
||||||
return await dispatch(verifyCredentials(access_token as string));
|
await dispatch(verifyCredentials(access_token as string));
|
||||||
|
|
||||||
|
dispatch(setNostrPubkey(undefined));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue