diff options
author | Julien Dessaux | 2022-11-18 21:52:24 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-11-18 21:52:24 +0100 |
commit | b385f711ffacc649686116699ff423b1a4dbeda0 (patch) | |
tree | 0f72bfd66e94f692563467db8125489a97ba1d90 /routes | |
parent | Also clear browser cookie on logout (diff) | |
download | jeux-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 'routes')
-rw-r--r-- | routes/login.js | 4 |
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"; |