summaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorJulien Dessaux2022-11-18 21:52:24 +0100
committerJulien Dessaux2022-11-18 21:52:24 +0100
commitb385f711ffacc649686116699ff423b1a4dbeda0 (patch)
tree0f72bfd66e94f692563467db8125489a97ba1d90 /routes
parentAlso clear browser cookie on logout (diff)
downloadjeux-de-mots-b385f711ffacc649686116699ff423b1a4dbeda0.tar.gz
jeux-de-mots-b385f711ffacc649686116699ff423b1a4dbeda0.tar.bz2
jeux-de-mots-b385f711ffacc649686116699ff423b1a4dbeda0.zip
Updated dependencies and fixed lint errors
Diffstat (limited to '')
-rw-r--r--routes/login.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/login.js b/routes/login.js
index 9684f8a..89299dd 100644
--- a/routes/login.js
+++ b/routes/login.js
@@ -1,7 +1,7 @@
import express from "express";
-import { check, validationResult, matchedData } from "express-validator";
+import { check, validationResult } from "express-validator";
-import makeLoginController from "../controllers/login.js"
+import makeLoginController from "../controllers/login.js";
import bodyParser from "../middlewares/formParser.js";
import session from "../middlewares/sessions.js";
import { login } from "../database/users.js";