diff --git a/src/lib/images/qr2.svg b/src/lib/images/qr2.svg
new file mode 100644
index 000000000..b106c2e2b
--- /dev/null
+++ b/src/lib/images/qr2.svg
@@ -0,0 +1,18 @@
+
diff --git a/src/routes/console/account/mfa.svelte b/src/routes/console/account/mfa.svelte
index 11d8db720..4aa5f71c7 100644
--- a/src/routes/console/account/mfa.svelte
+++ b/src/routes/console/account/mfa.svelte
@@ -9,13 +9,15 @@
import { addNotification } from '$lib/stores/notifications';
import { sdk } from '$lib/stores/sdk';
import { AuthenticatorType, type Models } from '@appwrite.io/console';
-
+ import QrFrame from '$lib/images/qr2.svg';
export let showSetup = false;
export let showRecoveryCodes = false;
let copyParent: HTMLElement;
let code: string;
let type: Models.MfaType = null;
+ let step = 1;
+
async function addAuthenticator(): Promise {
type = await sdk.forConsole.account.addAuthenticator(AuthenticatorType.Totp);
@@ -49,52 +51,59 @@
Install an authenticator app on your mobile device, open it and scan the provided QR
code or enter it manually.