Clear meta.pubkey after verify_credentials
This commit is contained in:
parent
b032b47359
commit
32e305d1c6
|
@ -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