summaryrefslogtreecommitdiff
path: root/controllers/login.js
diff options
context:
space:
mode:
authorJulien Dessaux2022-10-27 23:56:29 +0200
committerJulien Dessaux2022-10-27 23:56:29 +0200
commit2611ded920a8345922346ed0d43e4efdd94401a1 (patch)
tree3313d976fbb11bdbfd1841ce336cc4372f9ab32c /controllers/login.js
parentAllow for placing the first word (diff)
downloadjeux-de-mots-2611ded920a8345922346ed0d43e4efdd94401a1.tar.gz
jeux-de-mots-2611ded920a8345922346ed0d43e4efdd94401a1.tar.bz2
jeux-de-mots-2611ded920a8345922346ed0d43e4efdd94401a1.zip
Began implementing middlewares, session and auth
Diffstat (limited to '')
-rw-r--r--controllers/login.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/controllers/login.js b/controllers/login.js
new file mode 100644
index 0000000..bff312e
--- /dev/null
+++ b/controllers/login.js
@@ -0,0 +1,12 @@
+function makeLoginController() {
+ return {
+ title: "Connection",
+ data: {
+ username: "",
+ password: "",
+ },
+ errors: {},
+ };
+}
+
+export default makeLoginController;