Skip to content

Commit f5eef69

Browse files
authored
Merge pull request #10 from pdnode-team/XxdMkbMark-patch-1
Create login.md
2 parents b3079a2 + d069a79 commit f5eef69

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

chatroom/login.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Login
2+
::: tip
3+
For more info please refer to: [Supabase Docs](https://supabase.com/docs/guides/auth/passwords?queryGroups=language&language=js&queryGroups=flow&flow=implicit#signing-in-with-an-email-and-password)
4+
:::
5+
6+
```ts
7+
async function signInWithEmail() {
8+
const { data, error } = await supabase.auth.signInWithPassword({
9+
email: '<email>',
10+
password: '<password>',
11+
})
12+
}
13+
```

0 commit comments

Comments
 (0)