Skip to content

Commit 9b21bf8

Browse files
committed
change emailstart
1 parent 6860211 commit 9b21bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passkeys.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class Passkeys {
3434
// todo: callback to let implementor create a user
3535
let userID = null
3636
if (this.opts.emailStart) {
37-
let ur = await this.opts.emailStart(input.email)
37+
let ur = await this.opts.emailStart({ email: input.email })
3838
userID = ur.userID
3939
}
4040
if (!userID) {

0 commit comments

Comments
 (0)