Skip to content

Commit 72ee264

Browse files
authored
Merge pull request #15 from pdnode-team/XxdMkbMark-patch-1
Update register.md
2 parents 12e3304 + 26e8bad commit 72ee264

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chatroom/register.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ You must guide user to check their email so that they could verify their email a
1414
```ts
1515
async function signUpNewUser() {
1616
const { data, error } = await supabase.auth.signUp({
17-
email: '<email>', // 邮箱
18-
password: '<password>', // 密码
17+
email: '<email>', // Email address
18+
password: '<password>', // Password
1919
options: {
20-
emailRedirectTo: 'https://localhost:5173/welcome', // 邮箱重定向的地方 | 可选。
20+
emailRedirectTo: 'https://localhost:5173/welcome', // Redirect link (optional).
2121
},
2222
})
2323
}

0 commit comments

Comments
 (0)