Skip to content

Commit

Permalink
further formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityaoberai authored and TorstenDittmann committed Feb 28, 2024
1 parent bd88e2b commit 8346925
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ Begin your login flow with the default authentication method used by your app (f

```js
const user = await account.createEmailPasswordSession(
'[email protected]', // email
'password' // password
'[email protected]', // email
'password' // password
);
```

Expand Down Expand Up @@ -110,7 +110,7 @@ Based on the enabled providers, you can initialize the additional auth step. Cal

```js
const challenge = await account.createChallenge(
'phone' // factor
'phone' // factor
);

// Save the challenge ID to complete the challenge later
Expand All @@ -123,8 +123,8 @@ Once the user receives the challenge code, you can pass the code back to Appwrit

```js
const challenge = await account.updateChallenge(
'<CHALLENGE_ID>', // challengeId
'<OTP>' // otp
'<CHALLENGE_ID>', // challengeId
'<OTP>' // otp
);
```

Expand Down

0 comments on commit 8346925

Please sign in to comment.