feat: add register-guest api

This commit is contained in:
wancat committed 2024-06-17 19:23:30 +08:00
1 parent b5c601f4a9
commit 1d725d82ae
4 files changed
+63 -3

No files matched your search

+3
View File
@@ -9,6 +9,7 @@ import {
logout,
registerFromSession,
socialLoginHandler,
registerGuest,
} from '../controllers/authController.js'
import {
checkUsernameValidators,
@@ -32,6 +33,8 @@ router.post(
router.post('/register', authenticateRateLimit, registerValidators, register)
router.post('/register-guest', authenticateRateLimit, registerGuest)
router.post('/logout', logout)
router.get(