From 54e06aa44a3134dfc42db3e4b473abf5e181fc42 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sat, 19 Nov 2022 18:41:35 +0100 Subject: cleaned up the distinction between routes and controllers --- controllers/login.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 controllers/login.js (limited to 'controllers/login.js') diff --git a/controllers/login.js b/controllers/login.js deleted file mode 100644 index b274a9e..0000000 --- a/controllers/login.js +++ /dev/null @@ -1,13 +0,0 @@ -function makeController(req) { - return { - title: "Connexion", - user: req.session.user, - data: { - username: "", - password: "", - }, - errors: {}, - }; -} - -export default makeController; -- cgit v1.2.3