mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: disable guest login
This commit is contained in:
1 parent
3106ae00d0
commit
9ffcd9fa90
3 files changed
+13
-14
No files matched your search
@@ -73,7 +73,7 @@ async function recordLogin(req: Request, success: boolean, message: string) {
|
||||
|
||||
router.post('/register', authenticateRateLimit, registerValidators, register)
|
||||
|
||||
router.post('/register-guest', authenticateRateLimit, registerGuest)
|
||||
// router.post('/register-guest', authenticateRateLimit, registerGuest)
|
||||
|
||||
router.post('/logout', logout)
|
||||
|
||||
|
||||
Reference in new issue
Block a user