Skip to content

Commit b6e1a32

Browse files
committed
去掉 /auth/github/new 的频率限制
1 parent 3203dab commit b6e1a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ router.get('/auth/github', configMiddleware.github, passport.authenticate('githu
114114
router.get('/auth/github/callback',
115115
passport.authenticate('github', { failureRedirect: '/signin' }),
116116
github.callback);
117-
router.get('/auth/github/new', limit.peripperday('new_user_per_ip', config.create_user_per_ip, false), github.new);
117+
router.get('/auth/github/new', github.new);
118118
router.post('/auth/github/create', limit.peripperday('create_user_per_ip', config.create_user_per_ip, false), github.create);
119119

120120
router.get('/search', search.index);

0 commit comments

Comments
 (0)