mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Lint
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
async function verify() {
|
||||
try {
|
||||
disabled = true;
|
||||
const challenge = await sdk.forConsole.account.create2FAChallenge(AuthenticationFactor.Totp);
|
||||
const challenge = await sdk.forConsole.account.create2FAChallenge(
|
||||
AuthenticationFactor.Totp
|
||||
);
|
||||
await sdk.forConsole.account.updateChallenge(challenge.$id, code);
|
||||
await invalidate(Dependencies.ACCOUNT);
|
||||
trackEvent(Submit.AccountCreate);
|
||||
|
||||
Reference in New Issue
Block a user