BREAKING: change user social login schema

This commit is contained in:
wancat committed 2023-11-18 16:29:37 +08:00
1 parent 9e935b320a
commit 81581c4635
8 files changed
+59 -32

No files matched your search

+3 -3
View File
@@ -7,8 +7,8 @@ import {
register,
checkSession,
logout,
socialLogin,
registerFromSession,
socialLoginHandler,
} from '../controllers/authController.js'
import {
checkUsernameValidators,
@@ -49,7 +49,7 @@ if (enabledMethods.google) {
'/google/callback',
authenticateRateLimit,
passport.authenticate('google'),
socialLogin
socialLoginHandler
)
}
@@ -59,7 +59,7 @@ if (enabledMethods.github) {
'/github/callback',
authenticateRateLimit,
passport.authenticate('github'),
socialLogin
socialLoginHandler
)
}