Skip to content

Commit 483ccee

Browse files
Brutus5000julianlam
authored andcommitted
Fix automatically confirming user email
1 parent 63e2548 commit 483ccee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ OAuth.login = async (payload) => {
221221

222222
// Automatically confirm user email
223223
// await User.setUserField(uid, 'email', email);
224-
// await UserEmail.confirmByUid(uid);
224+
// await User.email.confirmByUid(uid);
225225
}
226226

227227
// Save provider-specific information to the user

0 commit comments

Comments
 (0)