mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 11:10:11 +08:00
feat: add register-guest api
This commit is contained in:
1 parent
b5c601f4a9
commit
1d725d82ae
4 files changed
+63
-3
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user