mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-23 01:11:49 +03:00
fix: authorization can't be revoked
This commit is contained in:
@@ -15,6 +15,7 @@ async function changeUser(page: Page, username: keyof typeof passkeyUtil.passkey
|
||||
|
||||
await (await passkeyUtil.init(page)).addPasskey(username);
|
||||
await page.getByRole('button', { name: 'Authenticate' }).click();
|
||||
await page.waitForURL('/settings/**');
|
||||
}
|
||||
|
||||
export default { authenticate, changeUser };
|
||||
|
||||
Reference in New Issue
Block a user