Skip to content

Commit 5eba0b8

Browse files
committed
lint: lib/auth/email/index.ts
remove unused vars
1 parent 8174c88 commit 5eba0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/auth/email/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ passport.use(new LocalStrategy({
3535
}))
3636

3737
if (config.allowEmailRegister) {
38-
emailAuth.post('/register', urlencodedParser, async function (req, res, next) {
38+
emailAuth.post('/register', urlencodedParser, async function (req, res) {
3939
if (!req.body.email || !req.body.password) return response.errorBadRequest(req, res)
4040
if (!validator.isEmail(req.body.email)) return response.errorBadRequest(req, res)
4141
try {

0 commit comments

Comments
 (0)